#CC5DE5#CC5DE5

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

Color values

HEX#CC5DE5
RGBrgb(204, 93, 229)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(10.9%, 59.4%, 0%, 10.2%)
CIE-LABlab(58.34, 63.26, -49.95)
CIE-LCHlch(58.34, 80.61, 321.70°)
OKLaboklab(66.79% 0.1653 -0.1392)
OKLCHoklch(66.79% 0.216 319.9)
XYZxyz(42.9573, 26.3251, 76.9320)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DE5 #76E55D
analogous
#885DE5 #CC5DE5 #E55DBA
triadic
#CC5DE5 #E5CC5D #5DE5CC
tetradic
#CC5DE5 #E5885D #76E55D #5DBAE5
square
#CC5DE5 #E5885D #76E55D #5DBAE5
split-complementary
#CC5DE5 #BAE55D #5DE588
monochromatic
#911CAC #BB28DD #CC5DE5 #DD92ED #EDC6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5DE5#FFFFFF#000000##000000
##CC5DE51.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)
#3D85E9
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#CD7399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5de5;
/* rgb */ color: rgb(204, 93, 229);
/* oklch */ color: oklch(66.8% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#df91ee',
    500: '#cc5de5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5de5;
$custom-light: #df91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5de5",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 288.971,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.21608,
    "h": 319.9
  },
  "luminance": 0.26323
}

Semantic roles & 50–950 ramp

primary
#CC5DE5
secondary
#BFE7B7
accent
#D41135
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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