#CC5CD1#CC5CD1

#CC5CD1 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.6% C 0.199 H 325.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD1
RGBrgb(204, 92, 209)
HSLhsl(297, 56%, 59%)
HSVhsv(297, 56%, 82%)
CMYKcmyk(2.4%, 56%, 0%, 18%)
CIE-LABlab(57.17, 60.04, -40.53)
CIE-LCHlch(57.17, 72.44, 325.98°)
OKLaboklab(65.6% 0.1651 -0.1119)
OKLCHoklch(65.6% 0.199 325.9)
XYZxyz(40.2368, 25.0974, 63.0342)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD1 #61D15C
analogous
#925CD1 #CC5CD1 #D15C9C
triadic
#CC5CD1 #D1CC5C #5CD1CC
tetradic
#CC5CD1 #D1925C #61D15C #5C9CD1
square
#CC5CD1 #D1925C #61D15C #5C9CD1
split-complementary
#CC5CD1 #9CD15C #5CD192
monochromatic
#87278B #B535BB #CC5CD1 #DB8CDE #EABBEC

Accessibility & contrast

On white

3.49
#CC5CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CC5CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD1#FFFFFF#000000##000000
##CC5CD11.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#728ECE
Tritanopia (blue-blind)
#D16B8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5cd1;
/* rgb */ color: rgb(204, 92, 209);
/* oklch */ color: oklch(65.6% 0.199 325.9);
Tailwind
colors: {
  custom: {
    50: '#de90df',
    500: '#cc5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd1;
$custom-light: #de90df;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd1",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 297.436,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65604,
    "c": 0.19946,
    "h": 325.9
  },
  "luminance": 0.25095
}

Semantic roles & 50–950 ramp

primary
#CC5CD1
secondary
#AFDBAD
accent
#DF494F
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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