#CC5FCD#CC5FCD

#CC5FCD is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.191 H 327.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCD
RGBrgb(204, 95, 205)
HSLhsl(299, 52%, 59%)
HSVhsv(299, 54%, 80%)
CMYKcmyk(0.5%, 53.7%, 0%, 19.6%)
CIE-LABlab(57.49, 57.95, -37.75)
CIE-LCHlch(57.49, 69.16, 326.92°)
OKLaboklab(65.78% 0.1608 -0.1039)
OKLCHoklch(65.78% 0.191 327.1)
XYZxyz(40.0128, 25.4319, 60.5471)
Luminance0.2543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCD #60CD5F
analogous
#955FCD #CC5FCD #CD5F97
triadic
#CC5FCD #CDCC5F #5FCDCC
tetradic
#CC5FCD #CD955F #60CD5F #5F97CD
square
#CC5FCD #CD955F #60CD5F #5F97CD
split-complementary
#CC5FCD #97CD5F #5FCD95
monochromatic
#862A87 #B539B6 #CC5FCD #DB8EDC #EABCEA

Accessibility & contrast

On white

3.45
#CC5FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CC5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCD#FFFFFF#000000##000000
##CC5FCD1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#D16C8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fcd;
/* rgb */ color: rgb(204, 95, 205);
/* oklch */ color: oklch(65.8% 0.191 327.1);
Tailwind
colors: {
  custom: {
    50: '#de91dc',
    500: '#cc5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fcd;
$custom-light: #de91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fcd",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 299.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6578,
    "c": 0.19144,
    "h": 327.1
  },
  "luminance": 0.2543
}

Semantic roles & 50–950 ramp

primary
#CC5FCD
secondary
#AFDAAE
accent
#DC4C4D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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