#CC5DE8#CC5DE8

#CC5DE8 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.219 H 319.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CC5DE8
RGBrgb(204, 93, 232)
HSLhsl(288, 75%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(12.1%, 59.9%, 0%, 9%)
CIE-LABlab(58.50, 63.83, -51.38)
CIE-LCHlch(58.50, 81.94, 321.17°)
OKLaboklab(66.96% 0.1654 -0.1434)
OKLCHoklch(66.96% 0.219 319.1)
XYZxyz(43.3798, 26.4941, 79.1571)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DE8 #79E85D
analogous
#865DE8 #CC5DE8 #E85DBE
triadic
#CC5DE8 #E8CC5D #5DE8CC
tetradic
#CC5DE8 #E8865D #79E85D #5DBEE8
square
#CC5DE8 #E8865D #79E85D #5DBEE8
split-complementary
#CC5DE8 #BEE85D #5DE886
monochromatic
#9319B1 #BB27E0 #CC5DE8 #DD93F0 #EEC8F7

Accessibility & contrast

On white

3.33
#CC5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CC5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DE8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DE8#FFFFFF#000000##000000
##CC5DE81.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#CC749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5de8;
/* rgb */ color: rgb(204, 93, 232);
/* oklch */ color: oklch(67.0% 0.219 319.1);
Tailwind
colors: {
  custom: {
    50: '#df91f0',
    500: '#cc5de8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5de8;
$custom-light: #df91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5de8",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 287.914,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66955,
    "c": 0.21886,
    "h": 319.1
  },
  "luminance": 0.26492
}

Semantic roles & 50–950 ramp

primary
#CC5DE8
secondary
#C2E9B8
accent
#D70E37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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