#CC5BE9#CC5BE9

#CC5BE9 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.223 H 318.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CC5BE9
RGBrgb(204, 91, 233)
HSLhsl(288, 76%, 64%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.4%, 60.9%, 0%, 8.6%)
CIE-LABlab(58.23, 64.91, -52.37)
CIE-LCHlch(58.23, 83.41, 321.10°)
OKLaboklab(66.77% 0.1678 -0.1462)
OKLCHoklch(66.77% 0.223 318.9)
XYZxyz(43.3490, 26.2046, 79.8496)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BE9 #78E95B
analogous
#855BE9 #CC5BE9 #E95BBF
triadic
#CC5BE9 #E9CC5B #5BE9CC
tetradic
#CC5BE9 #E9855B #78E95B #5BBFE9
square
#CC5BE9 #E9855B #78E95B #5BBFE9
split-complementary
#CC5BE9 #BFE95B #5BE985
monochromatic
#9218B2 #BB25E2 #CC5BE9 #DD91F0 #EEC7F7

Accessibility & contrast

On white

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

On black

6.24
#CC5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BE9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BE9#FFFFFF#000000##000000
##CC5BE91.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584ED
Deuteranopia (green-blind)
#6390E5
Tritanopia (blue-blind)
#CC739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5be9;
/* rgb */ color: rgb(204, 91, 233);
/* oklch */ color: oklch(66.8% 0.223 318.9);
Tailwind
colors: {
  custom: {
    50: '#df90f1',
    500: '#cc5be9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5be9;
$custom-light: #df90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5be9",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 287.746,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66774,
    "c": 0.22256,
    "h": 318.9
  },
  "luminance": 0.26203
}

Semantic roles & 50–950 ramp

primary
#CC5BE9
secondary
#C1E9B7
accent
#D90D37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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