#CC5CD9#CC5CD9

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

Color values

HEX#CC5CD9
RGBrgb(204, 92, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 58%, 85%)
CMYKcmyk(6%, 57.6%, 0%, 14.9%)
CIE-LABlab(57.56, 61.48, -44.44)
CIE-LCHlch(57.56, 75.86, 324.14°)
OKLaboklab(66.02% 0.1658 -0.1232)
OKLCHoklch(66.02% 0.207 323.4)
XYZxyz(41.2522, 25.5036, 68.3820)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD9 #69D95C
analogous
#8D5CD9 #CC5CD9 #D95CA7
triadic
#CC5CD9 #D9CC5C #5CD9CC
tetradic
#CC5CD9 #D98D5C #69D95C #5CA7D9
square
#CC5CD9 #D98D5C #69D95C #5CA7D9
split-complementary
#CC5CD9 #A7D95C #5CD98D
monochromatic
#8B2397 #B92FC9 #CC5CD9 #DC8EE5 #EBBFF0

Accessibility & contrast

On white

3.44
#CC5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CC5CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD9#FFFFFF#000000##000000
##CC5CD91.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#6E8FD6
Tritanopia (blue-blind)
#CF6E92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd9;
/* rgb */ color: rgb(204, 92, 217);
/* oklch */ color: oklch(66.0% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#de90e5',
    500: '#cc5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd9;
$custom-light: #de90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd9",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 293.76,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.20657,
    "h": 323.4
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#CC5CD9
secondary
#B6E0B1
accent
#CA1C2E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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