#CB5BEB#CB5BEB

#CB5BEB is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.224 H 318.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CB5BEB
RGBrgb(203, 91, 235)
HSLhsl(287, 78%, 64%)
HSVhsv(287, 61%, 92%)
CMYKcmyk(13.6%, 61.3%, 0%, 7.8%)
CIE-LABlab(58.21, 65.06, -53.54)
CIE-LCHlch(58.21, 84.26, 320.55°)
OKLaboklab(66.76% 0.1666 -0.1497)
OKLCHoklch(66.76% 0.224 318.1)
XYZxyz(43.3630, 26.1786, 81.3500)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BEB #7BEB5B
analogous
#835BEB #CB5BEB #EB5BC3
triadic
#CB5BEB #EBCB5B #5BEBCB
tetradic
#CB5BEB #EB835B #7BEB5B #5BC3EB
square
#CB5BEB #EB835B #7BEB5B #5BC3EB
split-complementary
#CB5BEB #C3EB5B #5BEB83
monochromatic
#9216B5 #BA24E4 #CB5BEB #DC92F2 #EEC8F8

Accessibility & contrast

On white

3.37
#CB5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CB5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BEB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BEB#FFFFFF#000000##000000
##CB5BEB1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#CA749B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5beb;
/* rgb */ color: rgb(203, 91, 235);
/* oklch */ color: oklch(66.8% 0.224 318.1);
Tailwind
colors: {
  custom: {
    50: '#de90f2',
    500: '#cb5beb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5beb;
$custom-light: #de90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5beb",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 286.667,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.22398,
    "h": 318.1
  },
  "luminance": 0.26177
}

Semantic roles & 50–950 ramp

primary
#CB5BEB
secondary
#C3EAB8
accent
#DB0B39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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