#CC5DCD#CC5DCD

#CC5DCD is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.194 H 327.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CC5DCD
RGBrgb(204, 93, 205)
HSLhsl(299, 53%, 58%)
HSVhsv(299, 55%, 80%)
CMYKcmyk(0.5%, 54.6%, 0%, 19.6%)
CIE-LABlab(57.15, 58.88, -38.29)
CIE-LCHlch(57.15, 70.23, 326.96°)
OKLaboklab(65.53% 0.1634 -0.1054)
OKLCHoklch(65.53% 0.194 327.2)
XYZxyz(39.8350, 25.0762, 60.4878)
Luminance0.2507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DCD #5ECD5D
analogous
#945DCD #CC5DCD #CD5D96
triadic
#CC5DCD #CDCC5D #5DCDCC
tetradic
#CC5DCD #CD945D #5ECD5D #5D96CD
square
#CC5DCD #CD945D #5ECD5D #5D96CD
split-complementary
#CC5DCD #96CD5D #5DCD94
monochromatic
#852986 #B438B5 #CC5DCD #DB8CDB #E9BBEA

Accessibility & contrast

On white

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

On black

6.01
#CC5DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DCD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DCD#FFFFFF#000000##000000
##CC5DCD1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#758ECA
Tritanopia (blue-blind)
#D16A8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5dcd;
/* rgb */ color: rgb(204, 93, 205);
/* oklch */ color: oklch(65.5% 0.194 327.2);
Tailwind
colors: {
  custom: {
    50: '#de90dc',
    500: '#cc5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dcd;
$custom-light: #de90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dcd",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 299.464,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.19447,
    "h": 327.2
  },
  "luminance": 0.25074
}

Semantic roles & 50–950 ramp

primary
#CC5DCD
secondary
#ADD9AD
accent
#DC4C4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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