#CC5DC8#CC5DC8

#CC5DC8 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.3% C 0.190 H 328.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CC5DC8
RGBrgb(204, 93, 200)
HSLhsl(302, 52%, 58%)
HSVhsv(302, 54%, 80%)
CMYKcmyk(0%, 54.4%, 2%, 20%)
CIE-LABlab(56.92, 58.01, -35.81)
CIE-LCHlch(56.92, 68.17, 328.31°)
OKLaboklab(65.28% 0.1628 -0.0983)
OKLCHoklch(65.28% 0.19 328.9)
XYZxyz(39.2411, 24.8386, 57.3598)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC8 #5DCC61
analogous
#985DCC #CC5DC8 #CC5D90
triadic
#CC5DC8 #C8CC5D #5DC8CC
tetradic
#CC5DC8 #CC985D #5DCC61 #5D90CC
square
#CC5DC8 #CC985D #5DCC61 #5D90CC
split-complementary
#CC5DC8 #90CC5D #5DCC98
monochromatic
#852A82 #B338AF #CC5DC8 #DB8CD8 #E9BAE8

Accessibility & contrast

On white

3.52
#CC5DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CC5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DC8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DC8#FFFFFF#000000##000000
##CC5DC81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#D2688A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5dc8;
/* rgb */ color: rgb(204, 93, 200);
/* oklch */ color: oklch(65.3% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#de90d9',
    500: '#cc5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc8;
$custom-light: #de90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc8",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 302.162,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.19016,
    "h": 328.9
  },
  "luminance": 0.24836
}

Semantic roles & 50–950 ramp

primary
#CC5DC8
secondary
#ACD9AE
accent
#DC514C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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