#CC5DC4#CC5DC4

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

Color values

HEX#CC5DC4
RGBrgb(204, 93, 196)
HSLhsl(304, 52%, 58%)
HSVhsv(304, 54%, 80%)
CMYKcmyk(0%, 54.4%, 3.9%, 20%)
CIE-LABlab(56.74, 57.32, -33.81)
CIE-LCHlch(56.74, 66.55, 329.47°)
OKLaboklab(65.09% 0.1622 -0.0925)
OKLCHoklch(65.09% 0.187 330.3)
XYZxyz(38.7797, 24.6541, 54.9300)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC4 #5DCC65
analogous
#9C5DCC #CC5DC4 #CC5D8C
triadic
#CC5DC4 #C4CC5D #5DC4CC
tetradic
#CC5DC4 #CC9C5D #5DCC65 #5D8CCC
square
#CC5DC4 #CC9C5D #5DCC65 #5D8CCC
split-complementary
#CC5DC4 #8CCC5D #5DCC9C
monochromatic
#852A7E #B338AA #CC5DC4 #DB8CD5 #E9BAE6

Accessibility & contrast

On white

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

On black

5.93
#CC5DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DC4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DC4#FFFFFF#000000##000000
##CC5DC41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D36788
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5dc4;
/* rgb */ color: rgb(204, 93, 196);
/* oklch */ color: oklch(65.1% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#de90d6',
    500: '#cc5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc4;
$custom-light: #de90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc4",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 304.324,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65089,
    "c": 0.18677,
    "h": 330.3
  },
  "luminance": 0.24652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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