#CC5BE8#CC5BE8

#CC5BE8 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.222 H 319.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CC5BE8
RGBrgb(204, 91, 232)
HSLhsl(288, 75%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.1%, 60.8%, 0%, 9%)
CIE-LABlab(58.18, 64.72, -51.90)
CIE-LCHlch(58.18, 82.96, 321.27°)
OKLaboklab(66.72% 0.1677 -0.1449)
OKLCHoklch(66.72% 0.222 319.2)
XYZxyz(43.2065, 26.1476, 79.0994)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BE8 #77E85B
analogous
#855BE8 #CC5BE8 #E85BBD
triadic
#CC5BE8 #E8CC5B #5BE8CC
tetradic
#CC5BE8 #E8855B #77E85B #5BBDE8
square
#CC5BE8 #E8855B #77E85B #5BBDE8
split-complementary
#CC5BE8 #BDE85B #5BE885
monochromatic
#9219B0 #BB25E0 #CC5BE8 #DD91F0 #EDC6F7

Accessibility & contrast

On white

3.37
#CC5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CC5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BE8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BE8#FFFFFF#000000##000000
##CC5BE81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#CC7299
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5be8;
/* rgb */ color: rgb(204, 91, 232);
/* oklch */ color: oklch(66.7% 0.222 319.2);
Tailwind
colors: {
  custom: {
    50: '#df90f0',
    500: '#cc5be8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5be8;
$custom-light: #df90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5be8",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 288.085,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.22164,
    "h": 319.2
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#CC5BE8
secondary
#C0E9B6
accent
#D80E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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