#CC5EFC#CC5EFC

#CC5EFC is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.2% C 0.236 H 314.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#CC5EFC
RGBrgb(204, 94, 252)
HSLhsl(282, 96%, 68%)
HSVhsv(282, 63%, 99%)
CMYKcmyk(19%, 62.7%, 0%, 1.2%)
CIE-LABlab(59.77, 67.29, -60.47)
CIE-LCHlch(59.77, 90.47, 318.06°)
OKLaboklab(68.23% 0.1642 -0.1699)
OKLCHoklch(68.23% 0.236 314)
XYZxyz(46.4723, 27.8725, 95.0085)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EFC #8EFC5E
analogous
#7D5EFC #CC5EFC #FC5EDD
triadic
#CC5EFC #FCCC5E #5EFCCC
tetradic
#CC5EFC #FC7D5E #8EFC5E #5EDDFC
square
#CC5EFC #FC7D5E #8EFC5E #5EDDFC
split-complementary
#CC5EFC #DDFC5E #5EFC7D
monochromatic
#9A04DC #B922FB #CC5EFC #DF9AFD #F2D6FE

Accessibility & contrast

On white

3.19
#CC5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CC5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EFC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EFC#FFFFFF#000000##000000
##CC5EFC1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8AFF
Deuteranopia (green-blind)
#5793F8
Tritanopia (blue-blind)
#C87CA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5efc;
/* rgb */ color: rgb(204, 94, 252);
/* oklch */ color: oklch(68.2% 0.236 314.0);
Tailwind
colors: {
  custom: {
    50: '#df92fe',
    500: '#cc5efc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5efc;
$custom-light: #df92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5efc",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 281.772,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.23633,
    "h": 314
  },
  "luminance": 0.27871
}

Semantic roles & 50–950 ramp

primary
#CC5EFC
secondary
#D1F3C3
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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