#CC5DC2#CC5DC2

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

Color values

HEX#CC5DC2
RGBrgb(204, 93, 194)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 54.4%, 4.9%, 20%)
CIE-LABlab(56.65, 56.99, -32.80)
CIE-LCHlch(56.65, 65.75, 330.08°)
OKLaboklab(65% 0.1619 -0.0897)
OKLCHoklch(65% 0.185 331)
XYZxyz(38.5536, 24.5636, 53.7391)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC2 #5DCC67
analogous
#9E5DCC #CC5DC2 #CC5D8A
triadic
#CC5DC2 #C2CC5D #5DC2CC
tetradic
#CC5DC2 #CC9E5D #5DCC67 #5D8ACC
square
#CC5DC2 #CC9E5D #5DCC67 #5D8ACC
split-complementary
#CC5DC2 #8ACC5D #5DCC9E
monochromatic
#852A7D #B338A8 #CC5DC2 #DB8CD4 #E9BAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5DC2#FFFFFF#000000##000000
##CC5DC21.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)
#587EC5
Deuteranopia (green-blind)
#7A8DBF
Tritanopia (blue-blind)
#D36687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5dc2;
/* rgb */ color: rgb(204, 93, 194);
/* oklch */ color: oklch(65.0% 0.185 331.0);
Tailwind
colors: {
  custom: {
    50: '#de90d4',
    500: '#cc5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc2;
$custom-light: #de90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc2",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 305.405,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64995,
    "c": 0.1851,
    "h": 331
  },
  "luminance": 0.24561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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