#CC5CDE#CC5CDE

#CC5CDE is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.3% C 0.211 H 321.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CC5CDE
RGBrgb(204, 92, 222)
HSLhsl(292, 66%, 62%)
HSVhsv(292, 59%, 87%)
CMYKcmyk(8.1%, 58.6%, 0%, 12.9%)
CIE-LABlab(57.82, 62.40, -46.86)
CIE-LCHlch(57.82, 78.04, 323.10°)
OKLaboklab(66.29% 0.1662 -0.1302)
OKLCHoklch(66.29% 0.211 321.9)
XYZxyz(41.9124, 25.7677, 71.8590)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CDE #6EDE5C
analogous
#8B5CDE #CC5CDE #DE5CAF
triadic
#CC5CDE #DECC5C #5CDECC
tetradic
#CC5CDE #DE8B5C #6EDE5C #5CAFDE
square
#CC5CDE #DE8B5C #6EDE5C #5CAFDE
split-complementary
#CC5CDE #AFDE5C #5CDE8B
monochromatic
#8E209F #BB2BD2 #CC5CDE #DC8FE8 #ECC2F3

Accessibility & contrast

On white

3.41
#CC5CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CC5CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CDE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CDE#FFFFFF#000000##000000
##CC5CDE1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#CE6F95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5cde;
/* rgb */ color: rgb(204, 92, 222);
/* oklch */ color: oklch(66.3% 0.211 321.9);
Tailwind
colors: {
  custom: {
    50: '#de90e9',
    500: '#cc5cde',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cde;
$custom-light: #de90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cde",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 291.692,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.21109,
    "h": 321.9
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#CC5CDE
secondary
#B9E3B3
accent
#CE1731
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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