#CC5FC4#CC5FC4

#CC5FC4 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.184 H 330.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CC5FC4
RGBrgb(204, 95, 196)
HSLhsl(304, 52%, 59%)
HSVhsv(304, 53%, 80%)
CMYKcmyk(0%, 53.4%, 3.9%, 20%)
CIE-LABlab(57.09, 56.39, -33.26)
CIE-LCHlch(57.09, 65.47, 329.46°)
OKLaboklab(65.35% 0.1596 -0.091)
OKLCHoklch(65.35% 0.184 330.3)
XYZxyz(38.9575, 25.0098, 54.9893)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FC4 #5FCC67
analogous
#9D5FCC #CC5FC4 #CC5F8D
triadic
#CC5FC4 #C4CC5F #5FC4CC
tetradic
#CC5FC4 #CC9D5F #5FCC67 #5F8DCC
square
#CC5FC4 #CC9D5F #5FCC67 #5F8DCC
split-complementary
#CC5FC4 #8DCC5F #5FCC9D
monochromatic
#862B7F #B439AB #CC5FC4 #DB8DD5 #EABCE6

Accessibility & contrast

On white

3.50
#CC5FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CC5FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FC4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FC4#FFFFFF#000000##000000
##CC5FC41.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC7
Deuteranopia (green-blind)
#7A8EC1
Tritanopia (blue-blind)
#D36989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5fc4;
/* rgb */ color: rgb(204, 95, 196);
/* oklch */ color: oklch(65.3% 0.184 330.3);
Tailwind
colors: {
  custom: {
    50: '#de91d6',
    500: '#cc5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fc4;
$custom-light: #de91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fc4",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 304.404,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.18369,
    "h": 330.3
  },
  "luminance": 0.25007
}

Semantic roles & 50–950 ramp

primary
#CC5FC4
secondary
#AED9B1
accent
#DB574D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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