#CC5DBD#CC5DBD

#CC5DBD is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.8% C 0.181 H 332.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CC5DBD
RGBrgb(204, 93, 189)
HSLhsl(308, 52%, 58%)
HSVhsv(308, 54%, 80%)
CMYKcmyk(0%, 54.4%, 7.4%, 20%)
CIE-LABlab(56.43, 56.15, -30.27)
CIE-LCHlch(56.43, 63.79, 331.67°)
OKLaboklab(64.76% 0.1611 -0.0825)
OKLCHoklch(64.76% 0.181 332.9)
XYZxyz(38.0015, 24.3428, 50.8313)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DBD #5DCC6C
analogous
#A35DCC #CC5DBD #CC5D85
triadic
#CC5DBD #BDCC5D #5DBDCC
tetradic
#CC5DBD #CCA35D #5DCC6C #5D85CC
square
#CC5DBD #CCA35D #5DCC6C #5D85CC
split-complementary
#CC5DBD #85CC5D #5DCCA3
monochromatic
#852A78 #B338A3 #CC5DBD #DB8CD0 #E9BAE3

Accessibility & contrast

On white

3.58
#CC5DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CC5DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DBD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DBD#FFFFFF#000000##000000
##CC5DBD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#D46585
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc5dbd;
/* rgb */ color: rgb(204, 93, 189);
/* oklch */ color: oklch(64.8% 0.181 332.9);
Tailwind
colors: {
  custom: {
    50: '#de90d1',
    500: '#cc5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dbd;
$custom-light: #de90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dbd",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 308.108,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64762,
    "c": 0.18099,
    "h": 332.9
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#CC5DBD
secondary
#ACD9B2
accent
#DC604C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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