#CC5DC5#CC5DC5

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

Color values

HEX#CC5DC5
RGBrgb(204, 93, 197)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 54.4%, 3.4%, 20%)
CIE-LABlab(56.78, 57.49, -34.31)
CIE-LCHlch(56.78, 66.95, 329.18°)
OKLaboklab(65.14% 0.1624 -0.094)
OKLCHoklch(65.14% 0.188 329.9)
XYZxyz(38.8939, 24.6998, 55.5314)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC5 #5DCC64
analogous
#9B5DCC #CC5DC5 #CC5D8D
triadic
#CC5DC5 #C5CC5D #5DC5CC
tetradic
#CC5DC5 #CC9B5D #5DCC64 #5D8DCC
square
#CC5DC5 #CC9B5D #5DCC64 #5D8DCC
split-complementary
#CC5DC5 #8DCC5D #5DCC9B
monochromatic
#852A7F #B338AC #CC5DC5 #DB8CD6 #E9BAE6

Accessibility & contrast

On white

3.54
#CC5DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CC5DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DC5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DC5#FFFFFF#000000##000000
##CC5DC51.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#788EC2
Tritanopia (blue-blind)
#D36789
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5dc5;
/* rgb */ color: rgb(204, 93, 197);
/* oklch */ color: oklch(65.1% 0.188 329.9);
Tailwind
colors: {
  custom: {
    50: '#de90d7',
    500: '#cc5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc5;
$custom-light: #de90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc5",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 303.784,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65137,
    "c": 0.18761,
    "h": 329.9
  },
  "luminance": 0.24697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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