#CC5DE6#CC5DE6

#CC5DE6 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.217 H 319.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5DE6
RGBrgb(204, 93, 230)
HSLhsl(289, 73%, 63%)
HSVhsv(289, 60%, 90%)
CMYKcmyk(11.3%, 59.6%, 0%, 9.8%)
CIE-LABlab(58.40, 63.45, -50.43)
CIE-LCHlch(58.40, 81.05, 321.52°)
OKLaboklab(66.84% 0.1653 -0.1406)
OKLCHoklch(66.84% 0.217 319.6)
XYZxyz(43.0973, 26.3811, 77.6695)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DE6 #77E65D
analogous
#875DE6 #CC5DE6 #E65DBB
triadic
#CC5DE6 #E6CC5D #5DE6CC
tetradic
#CC5DE6 #E6875D #77E65D #5DBBE6
square
#CC5DE6 #E6875D #77E65D #5DBBE6
split-complementary
#CC5DE6 #BBE65D #5DE687
monochromatic
#921BAE #BB28DE #CC5DE6 #DD92EE #EDC7F6

Accessibility & contrast

On white

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

On black

6.28
#CC5DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DE6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DE6#FFFFFF#000000##000000
##CC5DE61.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EA
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#CD7399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5de6;
/* rgb */ color: rgb(204, 93, 230);
/* oklch */ color: oklch(66.8% 0.217 319.6);
Tailwind
colors: {
  custom: {
    50: '#df91ee',
    500: '#cc5de6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5de6;
$custom-light: #df91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5de6",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 288.613,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.21701,
    "h": 319.6
  },
  "luminance": 0.26379
}

Semantic roles & 50–950 ramp

primary
#CC5DE6
secondary
#C0E8B7
accent
#D51036
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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