#CC5BE6#CC5BE6

#CC5BE6 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.220 H 319.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CC5BE6
RGBrgb(204, 91, 230)
HSLhsl(289, 74%, 63%)
HSVhsv(289, 60%, 90%)
CMYKcmyk(11.3%, 60.4%, 0%, 9.8%)
CIE-LABlab(58.07, 64.34, -50.95)
CIE-LCHlch(58.07, 82.07, 321.63°)
OKLaboklab(66.61% 0.1677 -0.1421)
OKLCHoklch(66.61% 0.22 319.7)
XYZxyz(42.9241, 26.0346, 77.6117)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BE6 #75E65B
analogous
#865BE6 #CC5BE6 #E65BBA
triadic
#CC5BE6 #E6CC5B #5BE6CC
tetradic
#CC5BE6 #E6865B #75E65B #5BBAE6
square
#CC5BE6 #E6865B #75E65B #5BBAE6
split-complementary
#CC5BE6 #BAE65B #5BE686
monochromatic
#911AAC #BB26DE #CC5BE6 #DD90EE #EDC5F6

Accessibility & contrast

On white

3.38
#CC5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CC5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BE6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BE6#FFFFFF#000000##000000
##CC5BE61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#6590E2
Tritanopia (blue-blind)
#CD7298
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5be6;
/* rgb */ color: rgb(204, 91, 230);
/* oklch */ color: oklch(66.6% 0.220 319.7);
Tailwind
colors: {
  custom: {
    50: '#df90ee',
    500: '#cc5be6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5be6;
$custom-light: #df90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5be6",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 288.777,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.2198,
    "h": 319.7
  },
  "luminance": 0.26033
}

Semantic roles & 50–950 ramp

primary
#CC5BE6
secondary
#BFE7B5
accent
#D61035
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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