#CC5BEA#CC5BEA

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

Color values

HEX#CC5BEA
RGBrgb(204, 91, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 61%, 92%)
CMYKcmyk(12.8%, 61.1%, 0%, 8.2%)
CIE-LABlab(58.28, 65.10, -52.85)
CIE-LCHlch(58.28, 83.85, 320.93°)
OKLaboklab(66.83% 0.1678 -0.1476)
OKLCHoklch(66.83% 0.223 318.7)
XYZxyz(43.4922, 26.2619, 80.6040)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5BEA #79EA5B
analogous
#845BEA #CC5BEA #EA5BC0
triadic
#CC5BEA #EACC5B #5BEACC
tetradic
#CC5BEA #EA845B #79EA5B #5BC0EA
square
#CC5BEA #EA845B #79EA5B #5BC0EA
split-complementary
#CC5BEA #C0EA5B #5BEA84
monochromatic
#9317B4 #BB25E3 #CC5BEA #DD91F1 #EEC8F8

Accessibility & contrast

On white

3.36
#CC5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CC5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5BEA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5BEA#FFFFFF#000000##000000
##CC5BEA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#CC739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5bea;
/* rgb */ color: rgb(204, 91, 234);
/* oklch */ color: oklch(66.8% 0.223 318.7);
Tailwind
colors: {
  custom: {
    50: '#df90f1',
    500: '#cc5bea',
    950: '#000000',
  },
}
SCSS
$custom: #cc5bea;
$custom-light: #df90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5bea",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 287.413,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66831,
    "c": 0.22348,
    "h": 318.7
  },
  "luminance": 0.2626
}

Semantic roles & 50–950 ramp

primary
#CC5BEA
secondary
#C2EAB7
accent
#DA0C37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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