#CB5BE7#CB5BE7

#CB5BE7 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.220 H 319.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE7
RGBrgb(203, 91, 231)
HSLhsl(288, 74%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.1%, 60.6%, 0%, 9.4%)
CIE-LABlab(57.99, 64.29, -51.65)
CIE-LCHlch(57.99, 82.47, 321.23°)
OKLaboklab(66.54% 0.1666 -0.1442)
OKLCHoklch(66.54% 0.22 319.1)
XYZxyz(42.7916, 25.9501, 78.3406)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE7 #77E75B
analogous
#855BE7 #CB5BE7 #E75BBD
triadic
#CB5BE7 #E7CB5B #5BE7CB
tetradic
#CB5BE7 #E7855B #77E75B #5BBDE7
square
#CB5BE7 #E7855B #77E75B #5BBDE7
split-complementary
#CB5BE7 #BDE75B #5BE785
monochromatic
#9019AE #BA26DF #CB5BE7 #DC90EF #EDC6F7

Accessibility & contrast

On white

3.39
#CB5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CB5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE7#FFFFFF#000000##000000
##CB5BE71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#CB7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be7;
/* rgb */ color: rgb(203, 91, 231);
/* oklch */ color: oklch(66.5% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#de90ef',
    500: '#cb5be7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be7;
$custom-light: #de90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be7",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 288,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66537,
    "c": 0.22028,
    "h": 319.1
  },
  "luminance": 0.25948
}

Semantic roles & 50–950 ramp

primary
#CB5BE7
secondary
#C0E8B6
accent
#D70F37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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