#CC6EE2#CC6EE2

#CC6EE2 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.8% C 0.188 H 319.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CC6EE2
RGBrgb(204, 110, 226)
HSLhsl(289, 67%, 66%)
HSVhsv(289, 51%, 89%)
CMYKcmyk(9.7%, 51.3%, 0%, 11.4%)
CIE-LABlab(61.20, 54.61, -43.75)
CIE-LCHlch(61.20, 69.97, 321.30°)
OKLaboklab(68.84% 0.1434 -0.1213)
OKLCHoklch(68.84% 0.188 319.8)
XYZxyz(44.2035, 29.4820, 75.2989)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EE2 #84E26E
analogous
#926EE2 #CC6EE2 #E26EBE
triadic
#CC6EE2 #E2CC6E #6EE2CC
tetradic
#CC6EE2 #E2926E #84E26E #6EBEE2
square
#CC6EE2 #E2926E #84E26E #6EBEE2
split-complementary
#CC6EE2 #BEE26E #6EE292
monochromatic
#9724B2 #BA3BD8 #CC6EE2 #DEA1EC #F0D4F6

Accessibility & contrast

On white

3.05
#CC6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#CC6EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6EE2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EE2#FFFFFF#000000##000000
##CC6EE21.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CD7E9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6ee2;
/* rgb */ color: rgb(204, 110, 226);
/* oklch */ color: oklch(68.8% 0.188 319.8);
Tailwind
colors: {
  custom: {
    50: '#de9beb',
    500: '#cc6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ee2;
$custom-light: #de9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ee2",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 288.621,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68835,
    "c": 0.1878,
    "h": 319.8
  },
  "luminance": 0.2948
}

Semantic roles & 50–950 ramp

primary
#CC6EE2
secondary
#CAE9C3
accent
#CF173A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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