#CC5CD5#CC5CD5

#CC5CD5 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.8% C 0.203 H 324.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CC5CD5
RGBrgb(204, 92, 213)
HSLhsl(296, 59%, 60%)
HSVhsv(296, 57%, 84%)
CMYKcmyk(4.2%, 56.8%, 0%, 16.5%)
CIE-LABlab(57.36, 60.76, -42.49)
CIE-LCHlch(57.36, 74.14, 325.03°)
OKLaboklab(65.81% 0.1655 -0.1175)
OKLCHoklch(65.81% 0.203 324.6)
XYZxyz(40.7382, 25.2980, 65.6751)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CD5 #65D55C
analogous
#8F5CD5 #CC5CD5 #D55CA2
triadic
#CC5CD5 #D5CC5C #5CD5CC
tetradic
#CC5CD5 #D58F5C #65D55C #5CA2D5
square
#CC5CD5 #D58F5C #65D55C #5CA2D5
split-complementary
#CC5CD5 #A2D55C #5CD58F
monochromatic
#892591 #B732C2 #CC5CD5 #DB8DE2 #EABDEE

Accessibility & contrast

On white

3.47
#CC5CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CC5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CD5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CD5#FFFFFF#000000##000000
##CC5CD51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D9
Deuteranopia (green-blind)
#708FD2
Tritanopia (blue-blind)
#D06C90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5cd5;
/* rgb */ color: rgb(204, 92, 213);
/* oklch */ color: oklch(65.8% 0.203 324.6);
Tailwind
colors: {
  custom: {
    50: '#de90e2',
    500: '#cc5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cd5;
$custom-light: #de90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cd5",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 295.537,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.203,
    "h": 324.6
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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