graf1x

CornflowerBlue and Purple

Contrasting color combination with 3.17:1 contrast ratio

#6495ED
#800080

Color Values

CornflowerBlue
HEX #6495ED
RGB 100, 149, 237
HSL 219, 79%, 66%
Purple
HEX #800080
RGB 128, 0, 128
HSL 300, 100%, 25%

Harmony: Contrasting

These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion.

The hue angle between CornflowerBlue and Purple is 81 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

3.17:1
CornflowerBlue background with Purple text
AA large text only

UI Preview

CornflowerBlue surface

Sample text on a cornflowerblue background demonstrates readability and visual hierarchy.

Purple surface

Sample text on a purple background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #6495ED;
  --color-b: #800080;
  --color-a-rgb: 100, 149, 237;
  --color-b-rgb: 128, 0, 128;
}

JSON

{
  "name": "CornflowerBlue and Purple",
  "colors": [
    {
      "name": "CornflowerBlue",
      "hex": "#6495ED",
      "rgb": [
        100,
        149,
        237
      ]
    },
    {
      "name": "Purple",
      "hex": "#800080",
      "rgb": [
        128,
        0,
        128
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 3.17
}

Explore These Colors

Frequently Asked Questions

Do cornflowerblue and purple go together?

Yes. CornflowerBlue and Purple form a contrasting color combination. These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion. The pairing has a WCAG contrast ratio of 3.17:1, which passes AA for large text but not for body text.

What is the contrast ratio between cornflowerblue and purple?

The WCAG 2.1 contrast ratio between CornflowerBlue (#6495ED) and Purple (#800080) is 3.17:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

How do I use cornflowerblue and purple in design?

A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for cornflowerblue and purple?

CornflowerBlue has the hex code #6495ED and RGB values rgb(100, 149, 237). Purple has the hex code #800080 and RGB values rgb(128, 0, 128). You can copy these directly into CSS or use the design tokens provided on this page.