#C66CD9#C66CD9

#C66CD9 is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.4% C 0.179 H 320.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C66CD9
RGBrgb(198, 108, 217)
HSLhsl(290, 59%, 64%)
HSVhsv(290, 50%, 85%)
CMYKcmyk(8.8%, 50.2%, 0%, 14.9%)
CIE-LABlab(59.66, 52.23, -41.20)
CIE-LCHlch(59.66, 66.52, 321.73°)
OKLaboklab(67.39% 0.138 -0.1141)
OKLCHoklch(67.39% 0.179 320.4)
XYZxyz(41.1741, 27.7423, 68.8181)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66CD9 #7FD96C
analogous
#8F6CD9 #C66CD9 #D96CB5
triadic
#C66CD9 #D9C66C #6CD9C6
tetradic
#C66CD9 #D98F6C #7FD96C #6CB5D9
square
#C66CD9 #D98F6C #7FD96C #6CB5D9
split-complementary
#C66CD9 #B5D96C #6CD98F
monochromatic
#8C2AA1 #B33BCC #C66CD9 #D99DE6 #ECCDF2

Accessibility & contrast

On white

3.21
#C66CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C66CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66CD9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66CD9#FFFFFF#000000##000000
##C66CD91.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DD
Deuteranopia (green-blind)
#7593D6
Tritanopia (blue-blind)
#C77B99
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c66cd9;
/* rgb */ color: rgb(198, 108, 217);
/* oklch */ color: oklch(67.4% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#d999e5',
    500: '#c66cd9',
    950: '#000000',
  },
}
SCSS
$custom: #c66cd9;
$custom-light: #d999e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c66cd9",
  "rgb": {
    "r": 198,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 289.541,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.17903,
    "h": 320.4
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#C66CD9
secondary
#C4E4BD
accent
#C71F3C
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C66CD9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C66CD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva