#CC5ED4#CC5ED4

#CC5ED4 is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.199 H 324.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC5ED4
RGBrgb(204, 94, 212)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 56%, 83%)
CMYKcmyk(3.8%, 55.7%, 0%, 16.9%)
CIE-LABlab(57.65, 59.66, -41.47)
CIE-LCHlch(57.65, 72.66, 325.20°)
OKLaboklab(66.01% 0.1629 -0.1146)
OKLCHoklch(66.01% 0.199 324.9)
XYZxyz(40.7872, 25.5985, 65.0672)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ED4 #66D45E
analogous
#915ED4 #CC5ED4 #D45EA1
triadic
#CC5ED4 #D4CC5E #5ED4CC
tetradic
#CC5ED4 #D4915E #66D45E #5EA1D4
square
#CC5ED4 #D4915E #66D45E #5EA1D4
split-complementary
#CC5ED4 #A1D45E #5ED491
monochromatic
#8A2791 #B834C1 #CC5ED4 #DB8EE1 #EBBFEE

Accessibility & contrast

On white

3.43
#CC5ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC5ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ED4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ED4#FFFFFF#000000##000000
##CC5ED41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#728FD1
Tritanopia (blue-blind)
#D06D90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5ed4;
/* rgb */ color: rgb(204, 94, 212);
/* oklch */ color: oklch(66.0% 0.199 324.9);
Tailwind
colors: {
  custom: {
    50: '#de91e1',
    500: '#cc5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ed4;
$custom-light: #de91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ed4",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 295.932,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.19915,
    "h": 324.9
  },
  "luminance": 0.25596
}

Semantic roles & 50–950 ramp

primary
#CC5ED4
secondary
#B3DEB0
accent
#E14751
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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