#CC5FC9#CC5FC9

#CC5FC9 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.188 H 328.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CC5FC9
RGBrgb(204, 95, 201)
HSLhsl(302, 52%, 59%)
HSVhsv(302, 53%, 80%)
CMYKcmyk(0%, 53.4%, 1.5%, 20%)
CIE-LABlab(57.31, 57.25, -35.76)
CIE-LCHlch(57.31, 67.50, 328.01°)
OKLaboklab(65.58% 0.1603 -0.0982)
OKLCHoklch(65.58% 0.188 328.5)
XYZxyz(39.5361, 25.2412, 58.0366)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FC9 #5FCC62
analogous
#985FCC #CC5FC9 #CC5F92
triadic
#CC5FC9 #C9CC5F #5FC9CC
tetradic
#CC5FC9 #CC985F #5FCC62 #5F92CC
square
#CC5FC9 #CC985F #5FCC62 #5F92CC
split-complementary
#CC5FC9 #92CC5F #5FCC98
monochromatic
#862B83 #B439B1 #CC5FC9 #DB8DD9 #EABCE8

Accessibility & contrast

On white

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

On black

6.05
#CC5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FC9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FC9#FFFFFF#000000##000000
##CC5FC91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CC
Deuteranopia (green-blind)
#788FC6
Tritanopia (blue-blind)
#D26A8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fc9;
/* rgb */ color: rgb(204, 95, 201);
/* oklch */ color: oklch(65.6% 0.188 328.5);
Tailwind
colors: {
  custom: {
    50: '#de91da',
    500: '#cc5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fc9;
$custom-light: #de91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fc9",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 301.651,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65584,
    "c": 0.18796,
    "h": 328.5
  },
  "luminance": 0.25239
}

Semantic roles & 50–950 ramp

primary
#CC5FC9
secondary
#AED9AF
accent
#DB514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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