#CB5AE2#CB5AE2

#CB5AE2 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.1% C 0.217 H 320.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CB5AE2
RGBrgb(203, 90, 226)
HSLhsl(290, 70%, 62%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(10.2%, 60.2%, 0%, 11.4%)
CIE-LABlab(57.56, 63.80, -49.52)
CIE-LCHlch(57.56, 80.76, 322.18°)
OKLaboklab(66.14% 0.1676 -0.138)
OKLCHoklch(66.14% 0.217 320.5)
XYZxyz(42.0106, 25.5018, 74.6462)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AE2 #71E25A
analogous
#875AE2 #CB5AE2 #E25AB5
triadic
#CB5AE2 #E2CB5A #5AE2CB
tetradic
#CB5AE2 #E2875A #71E25A #5AB5E2
square
#CB5AE2 #E2875A #71E25A #5AB5E2
split-complementary
#CB5AE2 #B5E25A #5AE287
monochromatic
#8E1DA5 #BB26D9 #CB5AE2 #DB8EEB #ECC2F4

Accessibility & contrast

On white

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

On black

6.10
#CB5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AE2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AE2#FFFFFF#000000##000000
##CB5AE21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5ae2;
/* rgb */ color: rgb(203, 90, 226);
/* oklch */ color: oklch(66.1% 0.217 320.5);
Tailwind
colors: {
  custom: {
    50: '#de8fec',
    500: '#cb5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ae2;
$custom-light: #de8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ae2",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 289.853,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.21708,
    "h": 320.5
  },
  "luminance": 0.255
}

Semantic roles & 50–950 ramp

primary
#CB5AE2
secondary
#BBE5B3
accent
#D21334
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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