#CC5EEA#CC5EEA

#CC5EEA is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.219 H 318.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CC5EEA
RGBrgb(204, 94, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(12.8%, 59.8%, 0%, 8.2%)
CIE-LABlab(58.77, 63.76, -52.07)
CIE-LCHlch(58.77, 82.32, 320.77°)
OKLaboklab(67.19% 0.1642 -0.1454)
OKLCHoklch(67.19% 0.219 318.5)
XYZxyz(43.7538, 26.7851, 80.6912)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EEA #7CEA5E
analogous
#865EEA #CC5EEA #EA5EC2
triadic
#CC5EEA #EACC5E #5EEACC
tetradic
#CC5EEA #EA865E #7CEA5E #5EC2EA
square
#CC5EEA #EA865E #7CEA5E #5EC2EA
split-complementary
#CC5EEA #C2EA5E #5EEA86
monochromatic
#9418B6 #BB28E3 #CC5EEA #DD94F1 #EECAF8

Accessibility & contrast

On white

3.30
#CC5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CC5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EEA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EEA#FFFFFF#000000##000000
##CC5EEA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#CC759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5eea;
/* rgb */ color: rgb(204, 94, 234);
/* oklch */ color: oklch(67.2% 0.219 318.5);
Tailwind
colors: {
  custom: {
    50: '#df91f1',
    500: '#cc5eea',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eea;
$custom-light: #df91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eea",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 287.143,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.21933,
    "h": 318.5
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#CC5EEA
secondary
#C4EABA
accent
#D90C38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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