#CC5FD6#CC5FD6

#CC5FD6 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.2% C 0.199 H 324.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD6
RGBrgb(204, 95, 214)
HSLhsl(295, 59%, 61%)
HSVhsv(295, 56%, 84%)
CMYKcmyk(4.7%, 55.6%, 0%, 16.1%)
CIE-LABlab(57.92, 59.56, -42.18)
CIE-LCHlch(57.92, 72.99, 324.70°)
OKLaboklab(66.23% 0.1618 -0.1167)
OKLCHoklch(66.23% 0.199 324.2)
XYZxyz(41.1306, 25.8790, 66.4340)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD6 #69D65F
analogous
#905FD6 #CC5FD6 #D65FA4
triadic
#CC5FD6 #D6CC5F #5FD6CC
tetradic
#CC5FD6 #D6905F #69D65F #5FA4D6
square
#CC5FD6 #D6905F #69D65F #5FA4D6
split-complementary
#CC5FD6 #A4D65F #5FD690
monochromatic
#8B2695 #B933C5 #CC5FD6 #DC90E2 #EBC0EF

Accessibility & contrast

On white

3.40
#CC5FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CC5FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD6#FFFFFF#000000##000000
##CC5FD61.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DA
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#D06F92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd6;
/* rgb */ color: rgb(204, 95, 214);
/* oklch */ color: oklch(66.2% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#de92e3',
    500: '#cc5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd6;
$custom-light: #de92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd6",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 294.958,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.19946,
    "h": 324.2
  },
  "luminance": 0.25877
}

Semantic roles & 50–950 ramp

primary
#CC5FD6
secondary
#B6DFB2
accent
#C71F2D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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