#CC5CE8#CC5CE8

#CC5CE8 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.220 H 319.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE8
RGBrgb(204, 92, 232)
HSLhsl(288, 75%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(12.1%, 60.3%, 0%, 9%)
CIE-LABlab(58.34, 64.28, -51.64)
CIE-LCHlch(58.34, 82.45, 321.22°)
OKLaboklab(66.84% 0.1666 -0.1441)
OKLCHoklch(66.84% 0.22 319.1)
XYZxyz(43.2926, 26.3197, 79.1281)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE8 #78E85C
analogous
#865CE8 #CC5CE8 #E85CBE
triadic
#CC5CE8 #E8CC5C #5CE8CC
tetradic
#CC5CE8 #E8865C #78E85C #5CBEE8
square
#CC5CE8 #E8865C #78E85C #5CBEE8
split-complementary
#CC5CE8 #BEE85C #5CE886
monochromatic
#9219B1 #BB26E0 #CC5CE8 #DD92F0 #EEC7F7

Accessibility & contrast

On white

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

On black

6.26
#CC5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE8#FFFFFF#000000##000000
##CC5CE81.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#CC739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ce8;
/* rgb */ color: rgb(204, 92, 232);
/* oklch */ color: oklch(66.8% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#df90f0',
    500: '#cc5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce8;
$custom-light: #df90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce8",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 288,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66836,
    "c": 0.22026,
    "h": 319.1
  },
  "luminance": 0.26318
}

Semantic roles & 50–950 ramp

primary
#CC5CE8
secondary
#C1E9B7
accent
#D70E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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