#CC6DD9#CC6DD9

#CC6DD9 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.2% C 0.181 H 322.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CC6DD9
RGBrgb(204, 109, 217)
HSLhsl(293, 59%, 64%)
HSVhsv(293, 50%, 85%)
CMYKcmyk(6%, 49.8%, 0%, 14.9%)
CIE-LABlab(60.59, 53.38, -39.67)
CIE-LCHlch(60.59, 66.51, 323.38°)
OKLaboklab(68.25% 0.1436 -0.1095)
OKLCHoklch(68.25% 0.181 322.7)
XYZxyz(42.8936, 28.7863, 68.9291)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DD9 #7AD96D
analogous
#966DD9 #CC6DD9 #D96DB0
triadic
#CC6DD9 #D9CC6D #6DD9CC
tetradic
#CC6DD9 #D9966D #7AD96D #6DB0D9
square
#CC6DD9 #D9966D #7AD96D #6DB0D9
split-complementary
#CC6DD9 #B0D96D #6DD996
monochromatic
#932AA2 #BB3CCC #CC6DD9 #DD9EE6 #EECEF2

Accessibility & contrast

On white

3.11
#CC6DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CC6DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6DD9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DD9#FFFFFF#000000##000000
##CC6DD91.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8BDD
Deuteranopia (green-blind)
#7A96D6
Tritanopia (blue-blind)
#CF7B99
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc6dd9;
/* rgb */ color: rgb(204, 109, 217);
/* oklch */ color: oklch(68.2% 0.181 322.7);
Tailwind
colors: {
  custom: {
    50: '#de9ae5',
    500: '#cc6dd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc6dd9;
$custom-light: #de9ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6dd9",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 217
  },
  "hsl": {
    "h": 292.778,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.18059,
    "h": 322.7
  },
  "luminance": 0.28784
}

Semantic roles & 50–950 ramp

primary
#CC6DD9
secondary
#C3E4BE
accent
#C61F33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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