#CC5FEA#CC5FEA

#CC5FEA is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.218 H 318.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CC5FEA
RGBrgb(204, 95, 234)
HSLhsl(287, 77%, 65%)
HSVhsv(287, 59%, 92%)
CMYKcmyk(12.8%, 59.4%, 0%, 8.2%)
CIE-LABlab(58.94, 63.31, -51.80)
CIE-LCHlch(58.94, 81.80, 320.71°)
OKLaboklab(67.31% 0.163 -0.1446)
OKLCHoklch(67.31% 0.218 318.4)
XYZxyz(43.8433, 26.9641, 80.7211)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FEA #7DEA5F
analogous
#865FEA #CC5FEA #EA5FC3
triadic
#CC5FEA #EACC5F #5FEACC
tetradic
#CC5FEA #EA865F #7DEA5F #5FC3EA
square
#CC5FEA #EA865F #7DEA5F #5FC3EA
split-complementary
#CC5FEA #C3EA5F #5FEA86
monochromatic
#9418B7 #BB29E3 #CC5FEA #DD95F1 #EECBF8

Accessibility & contrast

On white

3.29
#CC5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CC5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FEA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FEA#FFFFFF#000000##000000
##CC5FEA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#CC769C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5fea;
/* rgb */ color: rgb(204, 95, 234);
/* oklch */ color: oklch(67.3% 0.218 318.4);
Tailwind
colors: {
  custom: {
    50: '#df92f1',
    500: '#cc5fea',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fea;
$custom-light: #df92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fea",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 287.05,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.21792,
    "h": 318.4
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#CC5FEA
secondary
#C5EABA
accent
#D90C39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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