#CC5CCD#CC5CCD

#CC5CCD is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.4% C 0.196 H 327.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CC5CCD
RGBrgb(204, 92, 205)
HSLhsl(299, 53%, 58%)
HSVhsv(299, 55%, 80%)
CMYKcmyk(0.5%, 55.1%, 0%, 19.6%)
CIE-LABlab(56.98, 59.34, -38.56)
CIE-LCHlch(56.98, 70.77, 326.98°)
OKLaboklab(65.4% 0.1647 -0.1062)
OKLCHoklch(65.4% 0.196 327.2)
XYZxyz(39.7478, 24.9018, 60.4587)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CCD #5DCD5C
analogous
#935CCD #CC5CCD #CD5C95
triadic
#CC5CCD #CDCC5C #5CCDCC
tetradic
#CC5CCD #CD935C #5DCD5C #5C95CD
square
#CC5CCD #CD935C #5DCD5C #5C95CD
split-complementary
#CC5CCD #95CD5C #5CCD93
monochromatic
#852986 #B337B4 #CC5CCD #DB8BDB #E9BAEA

Accessibility & contrast

On white

3.51
#CC5CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CC5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CCD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CCD#FFFFFF#000000##000000
##CC5CCD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD1
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#D1698C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ccd;
/* rgb */ color: rgb(204, 92, 205);
/* oklch */ color: oklch(65.4% 0.196 327.2);
Tailwind
colors: {
  custom: {
    50: '#de90dc',
    500: '#cc5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ccd;
$custom-light: #de90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ccd",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 299.469,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.19597,
    "h": 327.2
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

primary
#CC5CCD
secondary
#ACD9AC
accent
#DC4B4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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