#CC5EEC#CC5EEC

#CC5EEC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.221 H 318.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CC5EEC
RGBrgb(204, 94, 236)
HSLhsl(286, 79%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(13.6%, 60.2%, 0%, 7.5%)
CIE-LABlab(58.88, 64.15, -53.01)
CIE-LCHlch(58.88, 83.22, 320.43°)
OKLaboklab(67.3% 0.1643 -0.1481)
OKLCHoklch(67.3% 0.221 318)
XYZxyz(44.0428, 26.9007, 82.2130)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EEC #7EEC5E
analogous
#855EEC #CC5EEC #EC5EC5
triadic
#CC5EEC #ECCC5E #5EECCC
tetradic
#CC5EEC #EC855E #7EEC5E #5EC5EC
square
#CC5EEC #EC855E #7EEC5E #5EC5EC
split-complementary
#CC5EEC #C5EC5E #5EEC85
monochromatic
#9516BA #BB27E6 #CC5EEC #DD95F2 #EFCBF9

Accessibility & contrast

On white

3.29
#CC5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CC5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EEC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EEC#FFFFFF#000000##000000
##CC5EEC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F0
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#CB769D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5eec;
/* rgb */ color: rgb(204, 94, 236);
/* oklch */ color: oklch(67.3% 0.221 318.0);
Tailwind
colors: {
  custom: {
    50: '#df92f3',
    500: '#cc5eec',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eec;
$custom-light: #df92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eec",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 286.479,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.673,
    "c": 0.22119,
    "h": 318
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

primary
#CC5EEC
secondary
#C6EBBB
accent
#DB0A39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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