#CC6CEE#CC6CEE

#CC6CEE is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.2% C 0.203 H 316.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC6CEE
RGBrgb(204, 108, 238)
HSLhsl(284, 79%, 68%)
HSVhsv(284, 55%, 93%)
CMYKcmyk(14.3%, 54.6%, 0%, 6.7%)
CIE-LABlab(61.43, 57.96, -50.08)
CIE-LCHlch(61.43, 76.60, 319.17°)
OKLaboklab(69.19% 0.147 -0.1397)
OKLCHoklch(69.19% 0.203 316.5)
XYZxyz(45.6947, 29.7371, 84.2051)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CEE #8EEE6C
analogous
#8B6CEE #CC6CEE #EE6CCF
triadic
#CC6CEE #EECC6C #6CEECC
tetradic
#CC6CEE #EE8B6C #8EEE6C #6CCFEE
square
#CC6CEE #EE8B6C #8EEE6C #6CCFEE
split-complementary
#CC6CEE #CFEE6C #6CEE8B
monochromatic
#9A17C8 #B935E8 #CC6CEE #DFA3F4 #F2DAFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6CEE#FFFFFF#000000##000000
##CC6CEE1.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)
#4D8EF2
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#CA81A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6cee;
/* rgb */ color: rgb(204, 108, 238);
/* oklch */ color: oklch(69.2% 0.203 316.5);
Tailwind
colors: {
  custom: {
    50: '#de9af4',
    500: '#cc6cee',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cee;
$custom-light: #de9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cee",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 284.308,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69191,
    "c": 0.20282,
    "h": 316.5
  },
  "luminance": 0.29736
}

Semantic roles & 50–950 ramp

primary
#CC6CEE
secondary
#D1EFC7
accent
#DC0A41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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