#CC5EDC#CC5EDC

#CC5EDC is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.4% C 0.206 H 322.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5EDC
RGBrgb(204, 94, 220)
HSLhsl(292, 64%, 62%)
HSVhsv(292, 57%, 86%)
CMYKcmyk(7.3%, 57.3%, 0%, 13.7%)
CIE-LABlab(58.05, 61.12, -45.37)
CIE-LCHlch(58.05, 76.12, 323.42°)
OKLaboklab(66.42% 0.1635 -0.1259)
OKLCHoklch(66.42% 0.206 322.4)
XYZxyz(41.8215, 26.0122, 70.5142)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EDC #6EDC5E
analogous
#8D5EDC #CC5EDC #DC5EAD
triadic
#CC5EDC #DCCC5E #5EDCCC
tetradic
#CC5EDC #DC8D5E #6EDC5E #5EADDC
square
#CC5EDC #DC8D5E #6EDC5E #5EADDC
split-complementary
#CC5EDC #ADDC5E #5EDC8D
monochromatic
#8E229D #BB2DD0 #CC5EDC #DC90E7 #ECC3F2

Accessibility & contrast

On white

3.39
#CC5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CC5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EDC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EDC#FFFFFF#000000##000000
##CC5EDC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#CF7094
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5edc;
/* rgb */ color: rgb(204, 94, 220);
/* oklch */ color: oklch(66.4% 0.206 322.4);
Tailwind
colors: {
  custom: {
    50: '#de91e7',
    500: '#cc5edc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5edc;
$custom-light: #de91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5edc",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 292.381,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.20638,
    "h": 322.4
  },
  "luminance": 0.2601
}

Semantic roles & 50–950 ramp

primary
#CC5EDC
secondary
#B9E2B3
accent
#CC1930
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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