#CC5DD5#CC5DD5

#CC5DD5 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 65.9% C 0.202 H 324.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5DD5
RGBrgb(204, 93, 213)
HSLhsl(296, 59%, 60%)
HSVhsv(296, 56%, 84%)
CMYKcmyk(4.2%, 56.3%, 0%, 16.5%)
CIE-LABlab(57.53, 60.30, -42.23)
CIE-LCHlch(57.53, 73.62, 325.00°)
OKLaboklab(65.93% 0.1642 -0.1168)
OKLCHoklch(65.93% 0.202 324.6)
XYZxyz(40.8254, 25.4724, 65.7042)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DD5 #66D55D
analogous
#905DD5 #CC5DD5 #D55DA2
triadic
#CC5DD5 #D5CC5D #5DD5CC
tetradic
#CC5DD5 #D5905D #66D55D #5DA2D5
square
#CC5DD5 #D5905D #66D55D #5DA2D5
split-complementary
#CC5DD5 #A2D55D #5DD590
monochromatic
#8A2692 #B832C2 #CC5DD5 #DB8EE2 #EBBEEE

Accessibility & contrast

On white

3.45
#CC5DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CC5DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DD5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DD5#FFFFFF#000000##000000
##CC5DD51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D9
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#D06D90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5dd5;
/* rgb */ color: rgb(204, 93, 213);
/* oklch */ color: oklch(65.9% 0.202 324.6);
Tailwind
colors: {
  custom: {
    50: '#de90e2',
    500: '#cc5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dd5;
$custom-light: #de90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dd5",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 295.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.65933,
    "c": 0.20153,
    "h": 324.6
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#CC5DD5
secondary
#B3DEB0
accent
#E24651
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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