#CC6EE7#CC6EE7

#CC6EE7 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.193 H 318.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC6EE7
RGBrgb(204, 110, 231)
HSLhsl(287, 72%, 67%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.7%, 52.4%, 0%, 9.4%)
CIE-LABlab(61.45, 55.58, -46.16)
CIE-LCHlch(61.45, 72.25, 320.29°)
OKLaboklab(69.09% 0.1439 -0.1283)
OKLCHoklch(69.09% 0.193 318.3)
XYZxyz(44.8996, 29.7604, 78.9650)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EE7 #89E76E
analogous
#906EE7 #CC6EE7 #E76EC5
triadic
#CC6EE7 #E7CC6E #6EE7CC
tetradic
#CC6EE7 #E7906E #89E76E #6EC5E7
square
#CC6EE7 #E7906E #89E76E #6EC5E7
split-complementary
#CC6EE7 #C5E76E #6EE790
monochromatic
#991FBC #BA39DE #CC6EE7 #DEA3F0 #F1D7F8

Accessibility & contrast

On white

3.02
#CC6EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC6EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6EE7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EE7#FFFFFF#000000##000000
##CC6EE71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#7498E4
Tritanopia (blue-blind)
#CC80A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6ee7;
/* rgb */ color: rgb(204, 110, 231);
/* oklch */ color: oklch(69.1% 0.193 318.3);
Tailwind
colors: {
  custom: {
    50: '#de9bef',
    500: '#cc6ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ee7;
$custom-light: #de9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ee7",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 286.612,
    "s": 71.598,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.19277,
    "h": 318.3
  },
  "luminance": 0.29759
}

Semantic roles & 50–950 ramp

primary
#CC6EE7
secondary
#CEECC5
accent
#D4123D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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