#CC5ED2#CC5ED2

#CC5ED2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.197 H 325.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CC5ED2
RGBrgb(204, 94, 210)
HSLhsl(297, 56%, 60%)
HSVhsv(297, 55%, 82%)
CMYKcmyk(2.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(57.56, 59.30, -40.49)
CIE-LCHlch(57.56, 71.81, 325.68°)
OKLaboklab(65.9% 0.1627 -0.1118)
OKLCHoklch(65.9% 0.197 325.5)
XYZxyz(40.5365, 25.4982, 63.7467)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ED2 #64D25E
analogous
#925ED2 #CC5ED2 #D25E9E
triadic
#CC5ED2 #D2CC5E #5ED2CC
tetradic
#CC5ED2 #D2925E #64D25E #5E9ED2
square
#CC5ED2 #D2925E #64D25E #5E9ED2
split-complementary
#CC5ED2 #9ED25E #5ED292
monochromatic
#89288E #B735BE #CC5ED2 #DB8EDF #EABEED

Accessibility & contrast

On white

3.44
#CC5ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CC5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ED2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ED2#FFFFFF#000000##000000
##CC5ED21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D6
Deuteranopia (green-blind)
#738FCF
Tritanopia (blue-blind)
#D16D8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5ed2;
/* rgb */ color: rgb(204, 94, 210);
/* oklch */ color: oklch(65.9% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#de91e0',
    500: '#cc5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ed2;
$custom-light: #de91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ed2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 296.897,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.19737,
    "h": 325.5
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#CC5ED2
secondary
#B2DCAF
accent
#E04850
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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