#CC5FD4#CC5FD4

#CC5FD4 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.1% C 0.198 H 324.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD4
RGBrgb(204, 95, 212)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 55%, 83%)
CMYKcmyk(3.8%, 55.2%, 0%, 16.9%)
CIE-LABlab(57.83, 59.20, -41.20)
CIE-LCHlch(57.83, 72.13, 325.16°)
OKLaboklab(66.13% 0.1616 -0.1138)
OKLCHoklch(66.13% 0.198 324.8)
XYZxyz(40.8767, 25.7775, 65.0970)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD4 #67D45F
analogous
#915FD4 #CC5FD4 #D45FA2
triadic
#CC5FD4 #D4CC5F #5FD4CC
tetradic
#CC5FD4 #D4915F #67D45F #5FA2D4
square
#CC5FD4 #D4915F #67D45F #5FA2D4
split-complementary
#CC5FD4 #A2D45F #5FD491
monochromatic
#8A2791 #B834C2 #CC5FD4 #DB8FE1 #EBBFEE

Accessibility & contrast

On white

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

On black

6.15
#CC5FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD4#FFFFFF#000000##000000
##CC5FD41.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D8
Deuteranopia (green-blind)
#7390D1
Tritanopia (blue-blind)
#D06E91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd4;
/* rgb */ color: rgb(204, 95, 212);
/* oklch */ color: oklch(66.1% 0.198 324.8);
Tailwind
colors: {
  custom: {
    50: '#de92e1',
    500: '#cc5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd4;
$custom-light: #de92e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd4",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 295.897,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66131,
    "c": 0.19766,
    "h": 324.8
  },
  "luminance": 0.25775
}

Semantic roles & 50–950 ramp

primary
#CC5FD4
secondary
#B4DEB1
accent
#C5202C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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