#CC8EEA#CC8EEA

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

Color values

HEX#CC8EEA
RGBrgb(204, 142, 234)
HSLhsl(280, 69%, 74%)
HSVhsv(280, 39%, 92%)
CMYKcmyk(12.8%, 39.3%, 0%, 8.2%)
CIE-LABlab(68.11, 39.52, -37.37)
CIE-LCHlch(68.11, 54.39, 316.60°)
OKLaboklab(74.11% 0.1001 -0.1031)
OKLCHoklch(74.11% 0.144 314.1)
XYZxyz(49.4237, 38.1249, 82.5812)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EEA #ACEA8E
analogous
#9E8EEA #CC8EEA #EA8EDA
triadic
#CC8EEA #EACC8E #8EEACC
tetradic
#CC8EEA #EA9E8E #ACEA8E #8EDAEA
square
#CC8EEA #EA9E8E #ACEA8E #8EDAEA
split-complementary
#CC8EEA #DAEA8E #8EEA9E
monochromatic
#9D28D6 #B55AE0 #CC8EEA #E3C2F4 #F3E5FA

Accessibility & contrast

On white

2.43
#CC8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CC8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EEA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EEA#FFFFFF#000000##000000
##CC8EEA1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#8DA8E7
Tritanopia (blue-blind)
#CA9BB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8eea;
/* rgb */ color: rgb(204, 142, 234);
/* oklch */ color: oklch(74.1% 0.144 314.1);
Tailwind
colors: {
  custom: {
    50: '#ddb0f1',
    500: '#cc8eea',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eea;
$custom-light: #ddb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eea",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 280.435,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.14369,
    "h": 314.1
  },
  "luminance": 0.38124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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