#CC6EEA#CC6EEA

#CC6EEA is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.196 H 317.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CC6EEA
RGBrgb(204, 110, 234)
HSLhsl(285, 75%, 67%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(12.8%, 53%, 0%, 8.2%)
CIE-LABlab(61.59, 56.18, -47.60)
CIE-LCHlch(61.59, 73.63, 319.73°)
OKLaboklab(69.25% 0.1442 -0.1325)
OKLCHoklch(69.25% 0.196 317.4)
XYZxyz(45.3269, 29.9313, 81.2156)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EEA #8CEA6E
analogous
#8E6EEA #CC6EEA #EA6ECA
triadic
#CC6EEA #EACC6E #6EEACC
tetradic
#CC6EEA #EA8E6E #8CEA6E #6ECAEA
square
#CC6EEA #EA8E6E #8CEA6E #6ECAEA
split-complementary
#CC6EEA #CAEA6E #6EEA8E
monochromatic
#9A1CC2 #B939E2 #CC6EEA #DFA3F2 #F2D9F9

Accessibility & contrast

On white

3.01
#CC6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CC6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6EEA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EEA#FFFFFF#000000##000000
##CC6EEA1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#CB81A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6eea;
/* rgb */ color: rgb(204, 110, 234);
/* oklch */ color: oklch(69.2% 0.196 317.4);
Tailwind
colors: {
  custom: {
    50: '#de9bf1',
    500: '#cc6eea',
    950: '#000000',
  },
}
SCSS
$custom: #cc6eea;
$custom-light: #de9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6eea",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 285.484,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69249,
    "c": 0.19577,
    "h": 317.4
  },
  "luminance": 0.2993
}

Semantic roles & 50–950 ramp

primary
#CC6EEA
secondary
#D0EDC7
accent
#D70F3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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