#CC5DEB#CC5DEB

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

Color values

HEX#CC5DEB
RGBrgb(204, 93, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(13.2%, 60.4%, 0%, 7.8%)
CIE-LABlab(58.66, 64.40, -52.80)
CIE-LCHlch(58.66, 83.28, 320.65°)
OKLaboklab(67.12% 0.1654 -0.1475)
OKLCHoklch(67.12% 0.222 318.3)
XYZxyz(43.8095, 26.6660, 81.4205)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DEB #7CEB5D
analogous
#855DEB #CC5DEB #EB5DC3
triadic
#CC5DEB #EBCC5D #5DEBCC
tetradic
#CC5DEB #EB855D #7CEB5D #5DC3EB
square
#CC5DEB #EB855D #7CEB5D #5DC3EB
split-complementary
#CC5DEB #C3EB5D #5DEB85
monochromatic
#9417B7 #BB27E4 #CC5DEB #DD93F2 #EECAF8

Accessibility & contrast

On white

3.32
#CC5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CC5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DEB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DEB#FFFFFF#000000##000000
##CC5DEB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CC759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5deb;
/* rgb */ color: rgb(204, 93, 235);
/* oklch */ color: oklch(67.1% 0.222 318.3);
Tailwind
colors: {
  custom: {
    50: '#df91f2',
    500: '#cc5deb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5deb;
$custom-light: #df91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5deb",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 286.901,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.22165,
    "h": 318.3
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#CC5DEB
secondary
#C4EBB9
accent
#DA0B38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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