#CC5ED7#CC5ED7

#CC5ED7 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.2% C 0.202 H 323.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CC5ED7
RGBrgb(204, 94, 215)
HSLhsl(295, 60%, 61%)
HSVhsv(295, 56%, 84%)
CMYKcmyk(5.1%, 56.3%, 0%, 15.7%)
CIE-LABlab(57.80, 60.21, -42.94)
CIE-LCHlch(57.80, 73.95, 324.50°)
OKLaboklab(66.16% 0.1632 -0.1188)
OKLCHoklch(66.16% 0.202 323.9)
XYZxyz(41.1692, 25.7512, 67.0788)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5ED7 #69D75E
analogous
#8F5ED7 #CC5ED7 #D75EA6
triadic
#CC5ED7 #D7CC5E #5ED7CC
tetradic
#CC5ED7 #D78F5E #69D75E #5EA6D7
square
#CC5ED7 #D78F5E #69D75E #5EA6D7
split-complementary
#CC5ED7 #A6D75E #5ED78F
monochromatic
#8B2595 #B931C6 #CC5ED7 #DC8FE3 #EBC0EF

Accessibility & contrast

On white

3.41
#CC5ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CC5ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5ED7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5ED7#FFFFFF#000000##000000
##CC5ED71.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#D06E92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ed7;
/* rgb */ color: rgb(204, 94, 215);
/* oklch */ color: oklch(66.2% 0.202 323.9);
Tailwind
colors: {
  custom: {
    50: '#de91e4',
    500: '#cc5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ed7;
$custom-light: #de91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ed7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 294.545,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6616,
    "c": 0.20185,
    "h": 323.9
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#CC5ED7
secondary
#B6DFB1
accent
#C81E2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CC5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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