#CC5CD4#CC5CD4

#CC5CD4 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.8% C 0.202 H 324.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD4
RGBrgb(204, 92, 212)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 57%, 83%)
CMYKcmyk(3.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(57.32, 60.58, -42.00)
CIE-LCHlch(57.32, 73.72, 325.26°)
OKLaboklab(65.76% 0.1654 -0.1161)
OKLCHoklch(65.76% 0.202 324.9)
XYZxyz(40.6117, 25.2474, 65.0087)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD4 #64D45C
analogous
#905CD4 #CC5CD4 #D45CA0
triadic
#CC5CD4 #D4CC5C #5CD4CC
tetradic
#CC5CD4 #D4905C #64D45C #5CA0D4
square
#CC5CD4 #D4905C #64D45C #5CA0D4
split-complementary
#CC5CD4 #A0D45C #5CD490
monochromatic
#892690 #B733C0 #CC5CD4 #DB8CE1 #EABDEE

Accessibility & contrast

On white

3.47
#CC5CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CC5CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD4#FFFFFF#000000##000000
##CC5CD41.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#718ED1
Tritanopia (blue-blind)
#D06C90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd4;
/* rgb */ color: rgb(204, 92, 212);
/* oklch */ color: oklch(65.8% 0.202 324.9);
Tailwind
colors: {
  custom: {
    50: '#de90e1',
    500: '#cc5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd4;
$custom-light: #de90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd4",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 296,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.20211,
    "h": 324.9
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#CC5CD4
secondary
#B2DDAF
accent
#E14651
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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