#CC5FD5#CC5FD5

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

Color values

HEX#CC5FD5
RGBrgb(204, 95, 213)
HSLhsl(295, 58%, 60%)
HSVhsv(295, 55%, 84%)
CMYKcmyk(4.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(57.87, 59.38, -41.69)
CIE-LCHlch(57.87, 72.56, 324.93°)
OKLaboklab(66.18% 0.1617 -0.1152)
OKLCHoklch(66.18% 0.199 324.5)
XYZxyz(41.0033, 25.8281, 65.7634)
Luminance0.2583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD5 #68D55F
analogous
#915FD5 #CC5FD5 #D55FA3
triadic
#CC5FD5 #D5CC5F #5FD5CC
tetradic
#CC5FD5 #D5915F #68D55F #5FA3D5
square
#CC5FD5 #D5915F #68D55F #5FA3D5
split-complementary
#CC5FD5 #A3D55F #5FD591
monochromatic
#8B2793 #B833C3 #CC5FD5 #DB8FE2 #EBC0EE

Accessibility & contrast

On white

3.41
#CC5FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CC5FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD5#FFFFFF#000000##000000
##CC5FD51.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#7290D2
Tritanopia (blue-blind)
#D06E91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd5;
/* rgb */ color: rgb(204, 95, 213);
/* oklch */ color: oklch(66.2% 0.199 324.5);
Tailwind
colors: {
  custom: {
    50: '#de92e2',
    500: '#cc5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd5;
$custom-light: #de92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd5",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 295.424,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.19856,
    "h": 324.5
  },
  "luminance": 0.25826
}

Semantic roles & 50–950 ramp

primary
#CC5FD5
secondary
#B5DEB1
accent
#C61F2C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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