#CB5BE1#CB5BE1

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

Color values

HEX#CB5BE1
RGBrgb(203, 91, 225)
HSLhsl(290, 69%, 62%)
HSVhsv(290, 60%, 88%)
CMYKcmyk(9.8%, 59.6%, 0%, 11.8%)
CIE-LABlab(57.67, 63.16, -48.78)
CIE-LCHlch(57.67, 79.81, 322.32°)
OKLaboklab(66.2% 0.1664 -0.1358)
OKLCHoklch(66.2% 0.215 320.8)
XYZxyz(41.9587, 25.6169, 73.9540)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE1 #71E15B
analogous
#885BE1 #CB5BE1 #E15BB4
triadic
#CB5BE1 #E1CB5B #5BE1CB
tetradic
#CB5BE1 #E1885B #71E15B #5BB4E1
square
#CB5BE1 #E1885B #71E15B #5BB4E1
split-complementary
#CB5BE1 #B4E15B #5BE188
monochromatic
#8E1EA4 #BB27D7 #CB5BE1 #DB8FEA #ECC2F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5BE1#FFFFFF#000000##000000
##CB5BE11.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)
#3D83E5
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#CD7096
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5be1;
/* rgb */ color: rgb(203, 91, 225);
/* oklch */ color: oklch(66.2% 0.215 320.8);
Tailwind
colors: {
  custom: {
    50: '#de8feb',
    500: '#cb5be1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be1;
$custom-light: #de8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be1",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 290.149,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66203,
    "c": 0.21476,
    "h": 320.8
  },
  "luminance": 0.25615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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