#CC5CCC#CC5CCC

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

Color values

HEX#CC5CCC
RGBrgb(204, 92, 204)
HSLhsl(300, 52%, 58%)
HSVhsv(300, 55%, 80%)
CMYKcmyk(0%, 54.9%, 0%, 20%)
CIE-LABlab(56.93, 59.16, -38.06)
CIE-LCHlch(56.93, 70.35, 327.24°)
OKLaboklab(65.35% 0.1646 -0.1048)
OKLCHoklch(65.35% 0.195 327.5)
XYZxyz(39.6274, 24.8537, 59.8250)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CCC #5CCC5C
analogous
#945CCC #CC5CCC #CC5C94
triadic
#CC5CCC #CCCC5C #5CCCCC
tetradic
#CC5CCC #CC945C #5CCC5C #5C94CC
square
#CC5CCC #CC945C #5CCC5C #5C94CC
split-complementary
#CC5CCC #94CC5C #5CCC94
monochromatic
#842984 #B338B3 #CC5CCC #DB8BDB #E9B9E9

Accessibility & contrast

On white

3.52
#CC5CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CC5CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CCC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CCC#FFFFFF#000000##000000
##CC5CCC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#D2698C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ccc;
/* rgb */ color: rgb(204, 92, 204);
/* oklch */ color: oklch(65.4% 0.195 327.5);
Tailwind
colors: {
  custom: {
    50: '#de90dc',
    500: '#cc5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ccc;
$custom-light: #de90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ccc",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65353,
    "c": 0.19511,
    "h": 327.5
  },
  "luminance": 0.24851
}

Semantic roles & 50–950 ramp

primary
#CC5CCC
secondary
#ACD8AC
accent
#DC4C4C
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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