#CB5BE2#CB5BE2

#CB5BE2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.3% C 0.216 H 320.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE2
RGBrgb(203, 91, 226)
HSLhsl(290, 70%, 62%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(10.2%, 59.7%, 0%, 11.4%)
CIE-LABlab(57.72, 63.35, -49.26)
CIE-LCHlch(57.72, 80.25, 322.13°)
OKLaboklab(66.26% 0.1664 -0.1372)
OKLCHoklch(66.26% 0.216 320.5)
XYZxyz(42.0955, 25.6716, 74.6745)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE2 #72E25B
analogous
#885BE2 #CB5BE2 #E25BB5
triadic
#CB5BE2 #E2CB5B #5BE2CB
tetradic
#CB5BE2 #E2885B #72E25B #5BB5E2
square
#CB5BE2 #E2885B #72E25B #5BB5E2
split-complementary
#CB5BE2 #B5E25B #5BE288
monochromatic
#8E1DA5 #BB27D9 #CB5BE2 #DB8FEB #ECC3F4

Accessibility & contrast

On white

3.42
#CB5BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CB5BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE2#FFFFFF#000000##000000
##CB5BE21.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#CC7096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be2;
/* rgb */ color: rgb(203, 91, 226);
/* oklch */ color: oklch(66.3% 0.216 320.5);
Tailwind
colors: {
  custom: {
    50: '#de8fec',
    500: '#cb5be2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be2;
$custom-light: #de8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be2",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 289.778,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.21568,
    "h": 320.5
  },
  "luminance": 0.2567
}

Semantic roles & 50–950 ramp

primary
#CB5BE2
secondary
#BCE5B4
accent
#D21434
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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