#CC5EE9#CC5EE9

#CC5EE9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.218 H 318.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CC5EE9
RGBrgb(204, 94, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 60%, 91%)
CMYKcmyk(12.4%, 59.7%, 0%, 8.6%)
CIE-LABlab(58.72, 63.57, -51.59)
CIE-LCHlch(58.72, 81.87, 320.94°)
OKLaboklab(67.13% 0.1642 -0.144)
OKLCHoklch(67.13% 0.218 318.7)
XYZxyz(43.6106, 26.7278, 79.9368)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EE9 #7BE95E
analogous
#875EE9 #CC5EE9 #E95EC1
triadic
#CC5EE9 #E9CC5E #5EE9CC
tetradic
#CC5EE9 #E9875E #7BE95E #5EC1E9
square
#CC5EE9 #E9875E #7BE95E #5EC1E9
split-complementary
#CC5EE9 #C1E95E #5EE987
monochromatic
#9419B4 #BB28E2 #CC5EE9 #DD94F0 #EECAF8

Accessibility & contrast

On white

3.31
#CC5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CC5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EE9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EE9#FFFFFF#000000##000000
##CC5EE91.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#CC759B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5ee9;
/* rgb */ color: rgb(204, 94, 233);
/* oklch */ color: oklch(67.1% 0.218 318.7);
Tailwind
colors: {
  custom: {
    50: '#df91f0',
    500: '#cc5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ee9;
$custom-light: #df91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ee9",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 287.482,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.2184,
    "h": 318.7
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

primary
#CC5EE9
secondary
#C3EAB9
accent
#D80D38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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