#CC5EF6#CC5EF6

#CC5EF6 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.231 H 315.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF6
RGBrgb(204, 94, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.1%, 61.8%, 0%, 3.5%)
CIE-LABlab(59.43, 66.10, -57.70)
CIE-LCHlch(59.43, 87.74, 318.88°)
OKLaboklab(67.88% 0.1643 -0.1618)
OKLCHoklch(67.88% 0.231 315.4)
XYZxyz(45.5365, 27.4982, 90.0799)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF6 #88F65E
analogous
#805EF6 #CC5EF6 #F65ED4
triadic
#CC5EF6 #F6CC5E #5EF6CC
tetradic
#CC5EF6 #F6805E #88F65E #5ED4F6
square
#CC5EF6 #F6805E #88F65E #5ED4F6
split-complementary
#CC5EF6 #D4F65E #5EF680
monochromatic
#980CCE #BA24F3 #CC5EF6 #DE98F9 #F1D2FC

Accessibility & contrast

On white

3.23
#CC5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CC5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF6#FFFFFF#000000##000000
##CC5EF61.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#C979A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5ef6;
/* rgb */ color: rgb(204, 94, 246);
/* oklch */ color: oklch(67.9% 0.231 315.4);
Tailwind
colors: {
  custom: {
    50: '#df92fa',
    500: '#cc5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef6;
$custom-light: #df92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef6",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 283.421,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.23063,
    "h": 315.4
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#CC5EF6
secondary
#CDF0BF
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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