#CC5BDE#CC5BDE

#CC5BDE is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.2% C 0.213 H 322.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC5BDE
RGBrgb(204, 91, 222)
HSLhsl(292, 66%, 61%)
HSVhsv(292, 59%, 87%)
CMYKcmyk(8.1%, 59%, 0%, 12.9%)
CIE-LABlab(57.65, 62.85, -47.12)
CIE-LCHlch(57.65, 78.55, 323.14°)
OKLaboklab(66.17% 0.1674 -0.131)
OKLCHoklch(66.17% 0.213 322)
XYZxyz(41.8263, 25.5955, 71.8304)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BDE #6DDE5B
analogous
#8B5BDE #CC5BDE #DE5BAF
triadic
#CC5BDE #DECC5B #5BDECC
tetradic
#CC5BDE #DE8B5B #6DDE5B #5BAFDE
square
#CC5BDE #DE8B5B #6DDE5B #5BAFDE
split-complementary
#CC5BDE #AFDE5B #5BDE8B
monochromatic
#8D209F #BB2AD2 #CC5BDE #DC8EE8 #ECC1F3

Accessibility & contrast

On white

3.43
#CC5BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC5BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BDE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BDE#FFFFFF#000000##000000
##CC5BDE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#CE6F94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5bde;
/* rgb */ color: rgb(204, 91, 222);
/* oklch */ color: oklch(66.2% 0.213 322.0);
Tailwind
colors: {
  custom: {
    50: '#df8fe9',
    500: '#cc5bde',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bde;
$custom-light: #df8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bde",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 291.756,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66166,
    "c": 0.21252,
    "h": 322
  },
  "luminance": 0.25593
}

Semantic roles & 50–950 ramp

primary
#CC5BDE
secondary
#B9E3B2
accent
#CE1730
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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