#CC6AEE#CC6AEE

#CC6AEE is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 68.9% C 0.206 H 316.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CC6AEE
RGBrgb(204, 106, 238)
HSLhsl(285, 80%, 67%)
HSVhsv(285, 55%, 93%)
CMYKcmyk(14.3%, 55.5%, 0%, 6.7%)
CIE-LABlab(61.06, 58.93, -50.66)
CIE-LCHlch(61.06, 77.71, 319.31°)
OKLaboklab(68.93% 0.1496 -0.1414)
OKLCHoklch(68.93% 0.206 316.6)
XYZxyz(45.4862, 29.3201, 84.1356)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AEE #8CEE6A
analogous
#8A6AEE #CC6AEE #EE6ACE
triadic
#CC6AEE #EECC6A #6AEECC
tetradic
#CC6AEE #EE8A6A #8CEE6A #6ACEEE
square
#CC6AEE #EE8A6A #8CEE6A #6ACEEE
split-complementary
#CC6AEE #CEEE6A #6AEE8A
monochromatic
#9A17C7 #B933E8 #CC6AEE #DFA1F4 #F2D8FB

Accessibility & contrast

On white

3.06
#CC6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CC6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AEE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AEE#FFFFFF#000000##000000
##CC6AEE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#CB7FA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6aee;
/* rgb */ color: rgb(204, 106, 238);
/* oklch */ color: oklch(68.9% 0.206 316.6);
Tailwind
colors: {
  custom: {
    50: '#de99f4',
    500: '#cc6aee',
    950: '#000000',
  },
}
SCSS
$custom: #cc6aee;
$custom-light: #de99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6aee",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 284.545,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68925,
    "c": 0.20582,
    "h": 316.6
  },
  "luminance": 0.29318
}

Semantic roles & 50–950 ramp

primary
#CC6AEE
secondary
#D0EFC5
accent
#DC0A40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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