#CC5EEB#CC5EEB

#CC5EEB is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.220 H 318.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CC5EEB
RGBrgb(204, 94, 235)
HSLhsl(287, 78%, 65%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(13.2%, 60%, 0%, 7.8%)
CIE-LABlab(58.83, 63.95, -52.54)
CIE-LCHlch(58.83, 82.77, 320.60°)
OKLaboklab(67.24% 0.1643 -0.1468)
OKLCHoklch(67.24% 0.22 318.2)
XYZxyz(43.8979, 26.8427, 81.4500)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EEB #7DEB5E
analogous
#865EEB #CC5EEB #EB5EC3
triadic
#CC5EEB #EBCC5E #5EEBCC
tetradic
#CC5EEB #EB865E #7DEB5E #5EC3EB
square
#CC5EEB #EB865E #7DEB5E #5EC3EB
split-complementary
#CC5EEB #C3EB5E #5EEB86
monochromatic
#9417B8 #BB28E4 #CC5EEB #DD94F2 #EECBF9

Accessibility & contrast

On white

3.30
#CC5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CC5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EEB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EEB#FFFFFF#000000##000000
##CC5EEB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CC759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5eeb;
/* rgb */ color: rgb(204, 94, 235);
/* oklch */ color: oklch(67.2% 0.220 318.2);
Tailwind
colors: {
  custom: {
    50: '#df91f2',
    500: '#cc5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5eeb;
$custom-light: #df91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5eeb",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 286.809,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67243,
    "c": 0.22026,
    "h": 318.2
  },
  "luminance": 0.26841
}

Semantic roles & 50–950 ramp

primary
#CC5EEB
secondary
#C5EBBA
accent
#DA0B39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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