#CC5CD2#CC5CD2

#CC5CD2 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.7% C 0.200 H 325.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD2
RGBrgb(204, 92, 210)
HSLhsl(297, 57%, 59%)
HSVhsv(297, 56%, 82%)
CMYKcmyk(2.9%, 56.2%, 0%, 17.6%)
CIE-LABlab(57.22, 60.22, -41.02)
CIE-LCHlch(57.22, 72.87, 325.74°)
OKLaboklab(65.66% 0.1652 -0.1133)
OKLCHoklch(65.66% 0.2 325.6)
XYZxyz(40.3610, 25.1471, 63.6882)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD2 #62D25C
analogous
#915CD2 #CC5CD2 #D25C9D
triadic
#CC5CD2 #D2CC5C #5CD2CC
tetradic
#CC5CD2 #D2915C #62D25C #5C9DD2
square
#CC5CD2 #D2915C #62D25C #5C9DD2
split-complementary
#CC5CD2 #9DD25C #5CD291
monochromatic
#88278D #B634BD #CC5CD2 #DB8CDF #EABCEC

Accessibility & contrast

On white

3.48
#CC5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CC5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD2#FFFFFF#000000##000000
##CC5CD21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#728ECF
Tritanopia (blue-blind)
#D16B8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5cd2;
/* rgb */ color: rgb(204, 92, 210);
/* oklch */ color: oklch(65.7% 0.200 325.6);
Tailwind
colors: {
  custom: {
    50: '#de90e0',
    500: '#cc5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd2;
$custom-light: #de90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 296.949,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.20034,
    "h": 325.6
  },
  "luminance": 0.25145
}

Semantic roles & 50–950 ramp

primary
#CC5CD2
secondary
#B0DCAE
accent
#E04850
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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