#CC5CC6#CC5CC6

#CC5CC6 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.190 H 329.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CC5CC6
RGBrgb(204, 92, 198)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 54.9%, 2.9%, 20%)
CIE-LABlab(56.66, 58.13, -35.08)
CIE-LCHlch(56.66, 67.89, 328.89°)
OKLaboklab(65.06% 0.1638 -0.0962)
OKLCHoklch(65.06% 0.19 329.6)
XYZxyz(38.9216, 24.5714, 56.1078)
Luminance0.2457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CC6 #5CCC62
analogous
#9A5CCC #CC5CC6 #CC5C8E
triadic
#CC5CC6 #C6CC5C #5CC6CC
tetradic
#CC5CC6 #CC9A5C #5CCC62 #5C8ECC
square
#CC5CC6 #CC9A5C #5CCC62 #5C8ECC
split-complementary
#CC5CC6 #8ECC5C #5CCC9A
monochromatic
#84297F #B338AC #CC5CC6 #DB8BD6 #E9B9E7

Accessibility & contrast

On white

3.55
#CC5CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CC5CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CC6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CC6#FFFFFF#000000##000000
##CC5CC61.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC9
Deuteranopia (green-blind)
#778DC3
Tritanopia (blue-blind)
#D36789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5cc6;
/* rgb */ color: rgb(204, 92, 198);
/* oklch */ color: oklch(65.1% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#de8fd7',
    500: '#cc5cc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cc6;
$custom-light: #de8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cc6",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 303.214,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.18998,
    "h": 329.6
  },
  "luminance": 0.24569
}

Semantic roles & 50–950 ramp

primary
#CC5CC6
secondary
#ACD8AE
accent
#DC544C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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