#CC5CE5#CC5CE5

#CC5CE5 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.217 H 319.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE5
RGBrgb(204, 92, 229)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 60%, 90%)
CMYKcmyk(10.9%, 59.8%, 0%, 10.2%)
CIE-LABlab(58.18, 63.71, -50.21)
CIE-LCHlch(58.18, 81.12, 321.76°)
OKLaboklab(66.67% 0.1665 -0.14)
OKLCHoklch(66.67% 0.217 319.9)
XYZxyz(42.8701, 26.1507, 76.9030)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE5 #75E55C
analogous
#875CE5 #CC5CE5 #E55CB9
triadic
#CC5CE5 #E5CC5C #5CE5CC
tetradic
#CC5CE5 #E5875C #75E55C #5CB9E5
square
#CC5CE5 #E5875C #75E55C #5CB9E5
split-complementary
#CC5CE5 #B9E55C #5CE587
monochromatic
#911BAB #BB27DD #CC5CE5 #DD91ED #EDC6F6

Accessibility & contrast

On white

3.37
#CC5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CC5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE5#FFFFFF#000000##000000
##CC5CE51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#CD7298
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ce5;
/* rgb */ color: rgb(204, 92, 229);
/* oklch */ color: oklch(66.7% 0.217 319.9);
Tailwind
colors: {
  custom: {
    50: '#df90ee',
    500: '#cc5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce5;
$custom-light: #df90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce5",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 289.051,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66668,
    "c": 0.21749,
    "h": 319.9
  },
  "luminance": 0.26149
}

Semantic roles & 50–950 ramp

primary
#CC5CE5
secondary
#BFE7B6
accent
#D51135
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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