#CC5DC7#CC5DC7

#CC5DC7 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.189 H 329.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5DC7
RGBrgb(204, 93, 199)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 54.4%, 2.5%, 20%)
CIE-LABlab(56.87, 57.84, -35.31)
CIE-LCHlch(56.87, 67.76, 328.60°)
OKLaboklab(65.23% 0.1627 -0.0968)
OKLCHoklch(65.23% 0.189 329.2)
XYZxyz(39.1246, 24.7920, 56.7464)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DC7 #5DCC62
analogous
#995DCC #CC5DC7 #CC5D8F
triadic
#CC5DC7 #C7CC5D #5DC7CC
tetradic
#CC5DC7 #CC995D #5DCC62 #5D8FCC
square
#CC5DC7 #CC995D #5DCC62 #5D8FCC
split-complementary
#CC5DC7 #8FCC5D #5DCC99
monochromatic
#852A81 #B338AE #CC5DC7 #DB8CD7 #E9BAE7

Accessibility & contrast

On white

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

On black

5.96
#CC5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DC7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DC7#FFFFFF#000000##000000
##CC5DC71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#778EC4
Tritanopia (blue-blind)
#D26889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5dc7;
/* rgb */ color: rgb(204, 93, 199);
/* oklch */ color: oklch(65.2% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#de90d8',
    500: '#cc5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dc7;
$custom-light: #de90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dc7",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 302.703,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65233,
    "c": 0.1893,
    "h": 329.2
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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