#CC5FD1#CC5FD1

#CC5FD1 is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.195 H 325.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD1
RGBrgb(204, 95, 209)
HSLhsl(297, 55%, 60%)
HSVhsv(297, 55%, 82%)
CMYKcmyk(2.4%, 54.5%, 0%, 18%)
CIE-LABlab(57.68, 58.66, -39.73)
CIE-LCHlch(57.68, 70.85, 325.89°)
OKLaboklab(65.98% 0.1613 -0.1096)
OKLCHoklch(65.98% 0.195 325.8)
XYZxyz(40.5018, 25.6275, 63.1225)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD1 #64D15F
analogous
#935FD1 #CC5FD1 #D15F9D
triadic
#CC5FD1 #D1CC5F #5FD1CC
tetradic
#CC5FD1 #D1935F #64D15F #5F9DD1
square
#CC5FD1 #D1935F #64D15F #5F9DD1
split-complementary
#CC5FD1 #9DD15F #5FD193
monochromatic
#89298D #B736BD #CC5FD1 #DB8FDF #EABEEC

Accessibility & contrast

On white

3.43
#CC5FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC5FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD1#FFFFFF#000000##000000
##CC5FD11.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D5
Deuteranopia (green-blind)
#748FCE
Tritanopia (blue-blind)
#D16D8F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd1;
/* rgb */ color: rgb(204, 95, 209);
/* oklch */ color: oklch(66.0% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#de91df',
    500: '#cc5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd1;
$custom-light: #de91df;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd1",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 297.368,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65979,
    "c": 0.19498,
    "h": 325.8
  },
  "luminance": 0.25625
}

Semantic roles & 50–950 ramp

primary
#CC5FD1
secondary
#B2DCB0
accent
#DF4950
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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