#CC5CC2#CC5CC2

#CC5CC2 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.187 H 331.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC2
RGBrgb(204, 92, 194)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 54.9%, 4.9%, 20%)
CIE-LABlab(56.48, 57.45, -33.07)
CIE-LCHlch(56.48, 66.29, 330.07°)
OKLaboklab(64.87% 0.1633 -0.0904)
OKLCHoklch(64.87% 0.187 331)
XYZxyz(38.4664, 24.3892, 53.7100)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC2 #5CCC66
analogous
#9E5CCC #CC5CC2 #CC5C8A
triadic
#CC5CC2 #C2CC5C #5CC2CC
tetradic
#CC5CC2 #CC9E5C #5CCC66 #5C8ACC
square
#CC5CC2 #CC9E5C #5CCC66 #5C8ACC
split-complementary
#CC5CC2 #8ACC5C #5CCC9E
monochromatic
#84297C #B338A8 #CC5CC2 #DB8BD3 #E9B9E5

Accessibility & contrast

On white

3.57
#CC5CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CC5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC2#FFFFFF#000000##000000
##CC5CC21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D36687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5cc2;
/* rgb */ color: rgb(204, 92, 194);
/* oklch */ color: oklch(64.9% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#de8fd4',
    500: '#cc5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc2;
$custom-light: #de8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 305.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64868,
    "c": 0.18663,
    "h": 331
  },
  "luminance": 0.24387
}

Semantic roles & 50–950 ramp

primary
#CC5CC2
secondary
#ACD8B0
accent
#DC594C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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