#CC5ED9#CC5ED9

#CC5ED9 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.204 H 323.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CC5ED9
RGBrgb(204, 94, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 57%, 85%)
CMYKcmyk(6%, 56.7%, 0%, 14.9%)
CIE-LABlab(57.90, 60.57, -43.91)
CIE-LCHlch(57.90, 74.81, 324.06°)
OKLaboklab(66.26% 0.1633 -0.1217)
OKLCHoklch(66.26% 0.204 323.3)
XYZxyz(41.4277, 25.8547, 68.4405)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ED9 #6BD95E
analogous
#8E5ED9 #CC5ED9 #D95EA8
triadic
#CC5ED9 #D9CC5E #5ED9CC
tetradic
#CC5ED9 #D98E5E #6BD95E #5EA8D9
square
#CC5ED9 #D98E5E #6BD95E #5EA8D9
split-complementary
#CC5ED9 #A8D95E #5ED98E
monochromatic
#8C2499 #BA30CA #CC5ED9 #DC90E5 #EBC1F0

Accessibility & contrast

On white

3.40
#CC5ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CC5ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ED9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ED9#FFFFFF#000000##000000
##CC5ED91.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#6F90D6
Tritanopia (blue-blind)
#CF6F93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ed9;
/* rgb */ color: rgb(204, 94, 217);
/* oklch */ color: oklch(66.3% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#de91e5',
    500: '#cc5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ed9;
$custom-light: #de91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ed9",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 293.659,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66264,
    "c": 0.20366,
    "h": 323.3
  },
  "luminance": 0.25853
}

Semantic roles & 50–950 ramp

primary
#CC5ED9
secondary
#B7E1B2
accent
#CA1C2E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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