#CB5AE4#CB5AE4

#CB5AE4 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.3% C 0.219 H 320.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CB5AE4
RGBrgb(203, 90, 228)
HSLhsl(289, 72%, 62%)
HSVhsv(289, 61%, 89%)
CMYKcmyk(11%, 60.5%, 0%, 10.6%)
CIE-LABlab(57.67, 64.17, -50.48)
CIE-LCHlch(57.67, 81.65, 321.81°)
OKLaboklab(66.25% 0.1677 -0.1407)
OKLCHoklch(66.25% 0.219 320)
XYZxyz(42.2866, 25.6122, 76.1000)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AE4 #73E45A
analogous
#865AE4 #CB5AE4 #E45AB8
triadic
#CB5AE4 #E4CB5A #5AE4CB
tetradic
#CB5AE4 #E4865A #73E45A #5AB8E4
square
#CB5AE4 #E4865A #73E45A #5AB8E4
split-complementary
#CB5AE4 #B8E45A #5AE486
monochromatic
#8F1CA8 #BA25DB #CB5AE4 #DC8FED #ECC3F5

Accessibility & contrast

On white

3.43
#CB5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CB5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AE4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AE4#FFFFFF#000000##000000
##CB5AE41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E8
Deuteranopia (green-blind)
#658FE0
Tritanopia (blue-blind)
#CC7097
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5ae4;
/* rgb */ color: rgb(203, 90, 228);
/* oklch */ color: oklch(66.3% 0.219 320.0);
Tailwind
colors: {
  custom: {
    50: '#de8fed',
    500: '#cb5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ae4;
$custom-light: #de8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ae4",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 289.13,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.2189,
    "h": 320
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#CB5AE4
secondary
#BDE6B4
accent
#D41235
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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