#CC5FE1#CC5FE1

#CC5FE1 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.210 H 320.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE1
RGBrgb(204, 95, 225)
HSLhsl(290, 68%, 63%)
HSVhsv(290, 58%, 88%)
CMYKcmyk(9.3%, 57.8%, 0%, 11.8%)
CIE-LABlab(58.47, 61.60, -47.51)
CIE-LCHlch(58.47, 77.79, 322.36°)
OKLaboklab(66.81% 0.1626 -0.1321)
OKLCHoklch(66.81% 0.21 320.9)
XYZxyz(42.5831, 26.4600, 74.0838)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE1 #74E15F
analogous
#8B5FE1 #CC5FE1 #E15FB5
triadic
#CC5FE1 #E1CC5F #5FE1CC
tetradic
#CC5FE1 #E18B5F #74E15F #5FB5E1
square
#CC5FE1 #E18B5F #74E15F #5FB5E1
split-complementary
#CC5FE1 #B5E15F #5FE18B
monochromatic
#911FA6 #BC2BD7 #CC5FE1 #DC93EB #EDC6F4

Accessibility & contrast

On white

3.34
#CC5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CC5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE1#FFFFFF#000000##000000
##CC5FE11.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#CE7397
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5fe1;
/* rgb */ color: rgb(204, 95, 225);
/* oklch */ color: oklch(66.8% 0.210 320.9);
Tailwind
colors: {
  custom: {
    50: '#de92eb',
    500: '#cc5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe1;
$custom-light: #de92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe1",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 290.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66813,
    "c": 0.20953,
    "h": 320.9
  },
  "luminance": 0.26458
}

Semantic roles & 50–950 ramp

primary
#CC5FE1
secondary
#BEE5B6
accent
#D01533
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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