#CC5AEB#CC5AEB

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

Color values

HEX#CC5AEB
RGBrgb(204, 90, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 62%, 92%)
CMYKcmyk(13.2%, 61.7%, 0%, 7.8%)
CIE-LABlab(58.18, 65.73, -53.57)
CIE-LCHlch(58.18, 84.80, 320.82°)
OKLaboklab(66.77% 0.169 -0.1497)
OKLCHoklch(66.77% 0.226 318.4)
XYZxyz(43.5514, 26.1497, 81.3345)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AEB #79EB5A
analogous
#835AEB #CC5AEB #EB5AC2
triadic
#CC5AEB #EBCC5A #5AEBCC
tetradic
#CC5AEB #EB835A #79EB5A #5AC2EB
square
#CC5AEB #EB835A #79EB5A #5AC2EB
split-complementary
#CC5AEB #C2EB5A #5AEB83
monochromatic
#9316B5 #BB23E4 #CC5AEB #DD91F2 #EEC7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5AEB#FFFFFF#000000##000000
##CC5AEB1.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)
#3084EF
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#CC739B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5aeb;
/* rgb */ color: rgb(204, 90, 235);
/* oklch */ color: oklch(66.8% 0.226 318.4);
Tailwind
colors: {
  custom: {
    50: '#df8ff2',
    500: '#cc5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aeb;
$custom-light: #df8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aeb",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 287.172,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.22576,
    "h": 318.4
  },
  "luminance": 0.26148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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