#CC5DC6#CC5DC6

#CC5DC6 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.2% C 0.188 H 329.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CC5DC6
RGBrgb(204, 93, 198)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 54.4%, 2.9%, 20%)
CIE-LABlab(56.83, 57.66, -34.81)
CIE-LCHlch(56.83, 67.36, 328.88°)
OKLaboklab(65.19% 0.1625 -0.0954)
OKLCHoklch(65.19% 0.188 329.6)
XYZxyz(39.0088, 24.7458, 56.1369)
Luminance0.2474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC6 #5DCC63
analogous
#9A5DCC #CC5DC6 #CC5D8E
triadic
#CC5DC6 #C6CC5D #5DC6CC
tetradic
#CC5DC6 #CC9A5D #5DCC63 #5D8ECC
square
#CC5DC6 #CC9A5D #5DCC63 #5D8ECC
split-complementary
#CC5DC6 #8ECC5D #5DCC9A
monochromatic
#852A80 #B338AD #CC5DC6 #DB8CD6 #E9BAE7

Accessibility & contrast

On white

3.53
#CC5DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CC5DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DC6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DC6#FFFFFF#000000##000000
##CC5DC61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FC9
Deuteranopia (green-blind)
#788EC3
Tritanopia (blue-blind)
#D36889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5dc6;
/* rgb */ color: rgb(204, 93, 198);
/* oklch */ color: oklch(65.2% 0.188 329.6);
Tailwind
colors: {
  custom: {
    50: '#de90d7',
    500: '#cc5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc6;
$custom-light: #de90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc6",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 303.243,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65185,
    "c": 0.18845,
    "h": 329.6
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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