#CC5CCE#CC5CCE

#CC5CCE is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.5% C 0.197 H 326.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CC5CCE
RGBrgb(204, 92, 206)
HSLhsl(299, 54%, 58%)
HSVhsv(299, 55%, 81%)
CMYKcmyk(1%, 55.3%, 0%, 19.2%)
CIE-LABlab(57.03, 59.51, -39.05)
CIE-LCHlch(57.03, 71.18, 326.73°)
OKLaboklab(65.45% 0.1648 -0.1076)
OKLCHoklch(65.45% 0.197 326.9)
XYZxyz(39.8689, 24.9502, 61.0965)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CCE #5ECE5C
analogous
#935CCE #CC5CCE #CE5C97
triadic
#CC5CCE #CECC5C #5CCECC
tetradic
#CC5CCE #CE935C #5ECE5C #5C97CE
square
#CC5CCE #CE935C #5ECE5C #5C97CE
split-complementary
#CC5CCE #97CE5C #5CCE93
monochromatic
#852987 #B437B6 #CC5CCE #DB8BDC #E9BAEA

Accessibility & contrast

On white

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

On black

5.99
#CC5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CCE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CCE#FFFFFF#000000##000000
##CC5CCE1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#D16A8D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5cce;
/* rgb */ color: rgb(204, 92, 206);
/* oklch */ color: oklch(65.5% 0.197 326.9);
Tailwind
colors: {
  custom: {
    50: '#de90dd',
    500: '#cc5cce',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cce;
$custom-light: #de90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cce",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 298.947,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.19684,
    "h": 326.9
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#CC5CCE
secondary
#ADDAAC
accent
#DD4B4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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