#CC5CD8#CC5CD8

#CC5CD8 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.0% C 0.206 H 323.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD8
RGBrgb(204, 92, 216)
HSLhsl(294, 61%, 60%)
HSVhsv(294, 57%, 85%)
CMYKcmyk(5.6%, 57.4%, 0%, 15.3%)
CIE-LABlab(57.51, 61.30, -43.96)
CIE-LCHlch(57.51, 75.43, 324.36°)
OKLaboklab(65.97% 0.1658 -0.1218)
OKLCHoklch(65.97% 0.206 323.7)
XYZxyz(41.1225, 25.4517, 67.6991)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD8 #68D85C
analogous
#8E5CD8 #CC5CD8 #D85CA6
triadic
#CC5CD8 #D8CC5C #5CD8CC
tetradic
#CC5CD8 #D88E5C #68D85C #5CA6D8
square
#CC5CD8 #D88E5C #68D85C #5CA6D8
split-complementary
#CC5CD8 #A6D85C #5CD88E
monochromatic
#8B2496 #B830C7 #CC5CD8 #DB8DE4 #EBBFF0

Accessibility & contrast

On white

3.45
#CC5CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CC5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD8#FFFFFF#000000##000000
##CC5CD81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DC
Deuteranopia (green-blind)
#6E8FD5
Tritanopia (blue-blind)
#CF6D92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd8;
/* rgb */ color: rgb(204, 92, 216);
/* oklch */ color: oklch(66.0% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#de90e4',
    500: '#cc5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd8;
$custom-light: #de90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd8",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 294.194,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.20568,
    "h": 323.7
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#CC5CD8
secondary
#B5E0B0
accent
#C91C2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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