#CC8EE9#CC8EE9

#CC8EE9 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.1% C 0.143 H 314.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CC8EE9
RGBrgb(204, 142, 233)
HSLhsl(281, 67%, 74%)
HSVhsv(281, 39%, 91%)
CMYKcmyk(12.4%, 39.1%, 0%, 8.6%)
CIE-LABlab(68.07, 39.31, -36.88)
CIE-LCHlch(68.07, 53.90, 316.82°)
OKLaboklab(74.06% 0.0999 -0.1017)
OKLCHoklch(74.06% 0.143 314.5)
XYZxyz(49.2805, 38.0676, 81.8268)
Luminance0.3807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EE9 #ABE98E
analogous
#9E8EE9 #CC8EE9 #E98ED8
triadic
#CC8EE9 #E9CC8E #8EE9CC
tetradic
#CC8EE9 #E99E8E #ABE98E #8ED8E9
square
#CC8EE9 #E99E8E #ABE98E #8ED8E9
split-complementary
#CC8EE9 #D8E98E #8EE99E
monochromatic
#9D29D3 #B55BDF #CC8EE9 #E3C1F3 #F3E5FA

Accessibility & contrast

On white

2.44
#CC8EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CC8EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EE9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EE9#FFFFFF#000000##000000
##CC8EE91.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2EC
Deuteranopia (green-blind)
#8EA8E6
Tritanopia (blue-blind)
#CA9AB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8ee9;
/* rgb */ color: rgb(204, 142, 233);
/* oklch */ color: oklch(74.1% 0.143 314.5);
Tailwind
colors: {
  custom: {
    50: '#ddb0f0',
    500: '#cc8ee9',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ee9;
$custom-light: #ddb0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ee9",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 233
  },
  "hsl": {
    "h": 280.879,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.14256,
    "h": 314.5
  },
  "luminance": 0.38067
}

Semantic roles & 50–950 ramp

primary
#CC8EE9
secondary
#E1F2D9
accent
#CF1651
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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