#CC5CD6#CC5CD6

#CC5CD6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.9% C 0.204 H 324.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD6
RGBrgb(204, 92, 214)
HSLhsl(295, 60%, 60%)
HSVhsv(295, 57%, 84%)
CMYKcmyk(4.7%, 57%, 0%, 16.1%)
CIE-LABlab(57.41, 60.94, -42.98)
CIE-LCHlch(57.41, 74.57, 324.80°)
OKLaboklab(65.86% 0.1656 -0.119)
OKLCHoklch(65.86% 0.204 324.3)
XYZxyz(40.8655, 25.3489, 66.3456)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD6 #66D65C
analogous
#8F5CD6 #CC5CD6 #D65CA3
triadic
#CC5CD6 #D6CC5C #5CD6CC
tetradic
#CC5CD6 #D68F5C #66D65C #5CA3D6
square
#CC5CD6 #D68F5C #66D65C #5CA3D6
split-complementary
#CC5CD6 #A3D65C #5CD68F
monochromatic
#8A2593 #B831C4 #CC5CD6 #DB8DE2 #EBBEEF

Accessibility & contrast

On white

3.46
#CC5CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CC5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD6#FFFFFF#000000##000000
##CC5CD61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DA
Deuteranopia (green-blind)
#708FD3
Tritanopia (blue-blind)
#D06D91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd6;
/* rgb */ color: rgb(204, 92, 214);
/* oklch */ color: oklch(65.9% 0.204 324.3);
Tailwind
colors: {
  custom: {
    50: '#de90e3',
    500: '#cc5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd6;
$custom-light: #de90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd6",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 295.082,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.20389,
    "h": 324.3
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#CC5CD6
secondary
#B3DEAF
accent
#E34552
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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