#CC5FE0#CC5FE0

#CC5FE0 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.209 H 321.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5FE0
RGBrgb(204, 95, 224)
HSLhsl(291, 68%, 63%)
HSVhsv(291, 58%, 88%)
CMYKcmyk(8.9%, 57.6%, 0%, 12.2%)
CIE-LABlab(58.42, 61.41, -47.03)
CIE-LCHlch(58.42, 77.35, 322.55°)
OKLaboklab(66.76% 0.1626 -0.1307)
OKLCHoklch(66.76% 0.209 321.2)
XYZxyz(42.4471, 26.4056, 73.3675)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FE0 #73E05F
analogous
#8C5FE0 #CC5FE0 #E05FB3
triadic
#CC5FE0 #E0CC5F #5FE0CC
tetradic
#CC5FE0 #E08C5F #73E05F #5FB3E0
square
#CC5FE0 #E08C5F #73E05F #5FB3E0
split-complementary
#CC5FE0 #B3E05F #5FE08C
monochromatic
#9020A5 #BC2CD6 #CC5FE0 #DC92EA #EDC6F4

Accessibility & contrast

On white

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

On black

6.28
#CC5FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FE0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FE0#FFFFFF#000000##000000
##CC5FE01.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E4
Deuteranopia (green-blind)
#6C91DD
Tritanopia (blue-blind)
#CE7297
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fe0;
/* rgb */ color: rgb(204, 95, 224);
/* oklch */ color: oklch(66.8% 0.209 321.2);
Tailwind
colors: {
  custom: {
    50: '#de92ea',
    500: '#cc5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fe0;
$custom-light: #de92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fe0",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 290.698,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.2086,
    "h": 321.2
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#CC5FE0
secondary
#BDE5B6
accent
#CF1633
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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