#CC5FD8#CC5FD8

#CC5FD8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.3% C 0.201 H 323.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD8
RGBrgb(204, 95, 216)
HSLhsl(294, 61%, 61%)
HSVhsv(294, 56%, 85%)
CMYKcmyk(5.6%, 56%, 0%, 15.3%)
CIE-LABlab(58.02, 59.93, -43.16)
CIE-LCHlch(58.02, 73.85, 324.24°)
OKLaboklab(66.34% 0.162 -0.1195)
OKLCHoklch(66.34% 0.201 323.6)
XYZxyz(41.3876, 25.9818, 67.7874)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD8 #6BD85F
analogous
#8F5FD8 #CC5FD8 #D85FA7
triadic
#CC5FD8 #D8CC5F #5FD8CC
tetradic
#CC5FD8 #D88F5F #6BD85F #5FA7D8
square
#CC5FD8 #D88F5F #6BD85F #5FA7D8
split-complementary
#CC5FD8 #A7D85F #5FD88F
monochromatic
#8C2598 #BA31C9 #CC5FD8 #DC90E4 #EBC1F0

Accessibility & contrast

On white

3.39
#CC5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CC5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD8#FFFFFF#000000##000000
##CC5FD81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DC
Deuteranopia (green-blind)
#7190D5
Tritanopia (blue-blind)
#CF7093
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd8;
/* rgb */ color: rgb(204, 95, 216);
/* oklch */ color: oklch(66.3% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#de92e4',
    500: '#cc5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd8;
$custom-light: #de92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd8",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 294.05,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66337,
    "c": 0.20128,
    "h": 323.6
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#CC5FD8
secondary
#B7E0B3
accent
#C81D2E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CC5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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