#CC5FC8#CC5FC8

#CC5FC8 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.187 H 328.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CC5FC8
RGBrgb(204, 95, 200)
HSLhsl(302, 52%, 59%)
HSVhsv(302, 53%, 80%)
CMYKcmyk(0%, 53.4%, 2%, 20%)
CIE-LABlab(57.26, 57.08, -35.27)
CIE-LCHlch(57.26, 67.09, 328.29°)
OKLaboklab(65.54% 0.1601 -0.0967)
OKLCHoklch(65.54% 0.187 328.9)
XYZxyz(39.4189, 25.1943, 57.4191)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FC8 #5FCC63
analogous
#995FCC #CC5FC8 #CC5F91
triadic
#CC5FC8 #C8CC5F #5FC8CC
tetradic
#CC5FC8 #CC995F #5FCC63 #5F91CC
square
#CC5FC8 #CC995F #5FCC63 #5F91CC
split-complementary
#CC5FC8 #91CC5F #5FCC99
monochromatic
#862B83 #B439B0 #CC5FC8 #DB8DD8 #EABCE8

Accessibility & contrast

On white

3.48
#CC5FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CC5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FC8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FC8#FFFFFF#000000##000000
##CC5FC81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#788FC5
Tritanopia (blue-blind)
#D26A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5fc8;
/* rgb */ color: rgb(204, 95, 200);
/* oklch */ color: oklch(65.5% 0.187 328.9);
Tailwind
colors: {
  custom: {
    50: '#de91d9',
    500: '#cc5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fc8;
$custom-light: #de91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fc8",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 302.202,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.1871,
    "h": 328.9
  },
  "luminance": 0.25192
}

Semantic roles & 50–950 ramp

primary
#CC5FC8
secondary
#AED9AF
accent
#DB524D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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