#CB5AE3#CB5AE3

#CB5AE3 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.2% C 0.218 H 320.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CB5AE3
RGBrgb(203, 90, 227)
HSLhsl(289, 71%, 62%)
HSVhsv(289, 60%, 89%)
CMYKcmyk(10.6%, 60.4%, 0%, 11%)
CIE-LABlab(57.61, 63.98, -50.00)
CIE-LCHlch(57.61, 81.20, 321.99°)
OKLaboklab(66.2% 0.1676 -0.1393)
OKLCHoklch(66.2% 0.218 320.3)
XYZxyz(42.1482, 25.5568, 75.3710)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AE3 #72E35A
analogous
#875AE3 #CB5AE3 #E35AB7
triadic
#CB5AE3 #E3CB5A #5AE3CB
tetradic
#CB5AE3 #E3875A #72E35A #5AB7E3
square
#CB5AE3 #E3875A #72E35A #5AB7E3
split-complementary
#CB5AE3 #B7E35A #5AE387
monochromatic
#8E1CA6 #BB26DA #CB5AE3 #DB8EEC #ECC3F5

Accessibility & contrast

On white

3.44
#CB5AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CB5AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AE3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AE3#FFFFFF#000000##000000
##CB5AE31.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E7
Deuteranopia (green-blind)
#668EDF
Tritanopia (blue-blind)
#CC7096
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5ae3;
/* rgb */ color: rgb(203, 90, 227);
/* oklch */ color: oklch(66.2% 0.218 320.3);
Tailwind
colors: {
  custom: {
    50: '#de8fec',
    500: '#cb5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ae3;
$custom-light: #de8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ae3",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 289.489,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.21799,
    "h": 320.3
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#CB5AE3
secondary
#BCE6B3
accent
#D31234
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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