#CC5CE9#CC5CE9

#CC5CE9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.221 H 318.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE9
RGBrgb(204, 92, 233)
HSLhsl(288, 76%, 64%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.4%, 60.5%, 0%, 8.6%)
CIE-LABlab(58.39, 64.47, -52.12)
CIE-LCHlch(58.39, 82.90, 321.05°)
OKLaboklab(66.89% 0.1666 -0.1455)
OKLCHoklch(66.89% 0.221 318.9)
XYZxyz(43.4350, 26.3767, 79.8783)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE9 #79E95C
analogous
#855CE9 #CC5CE9 #E95CBF
triadic
#CC5CE9 #E9CC5C #5CE9CC
tetradic
#CC5CE9 #E9855C #79E95C #5CBFE9
square
#CC5CE9 #E9855C #79E95C #5CBFE9
split-complementary
#CC5CE9 #BFE95C #5CE985
monochromatic
#9318B3 #BB26E2 #CC5CE9 #DD92F0 #EEC8F8

Accessibility & contrast

On white

3.35
#CC5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CC5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE9#FFFFFF#000000##000000
##CC5CE91.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#CC739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ce9;
/* rgb */ color: rgb(204, 92, 233);
/* oklch */ color: oklch(66.9% 0.221 318.9);
Tailwind
colors: {
  custom: {
    50: '#df90f0',
    500: '#cc5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce9;
$custom-light: #df90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce9",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 287.66,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66892,
    "c": 0.22118,
    "h": 318.9
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#CC5CE9
secondary
#C2E9B8
accent
#D80D37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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