#CB5BE8#CB5BE8

#CB5BE8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.221 H 318.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE8
RGBrgb(203, 91, 232)
HSLhsl(288, 75%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.5%, 60.8%, 0%, 9%)
CIE-LABlab(58.04, 64.49, -52.12)
CIE-LCHlch(58.04, 82.92, 321.05°)
OKLaboklab(66.59% 0.1666 -0.1455)
OKLCHoklch(66.59% 0.221 318.9)
XYZxyz(42.9333, 26.0067, 79.0866)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE8 #78E85B
analogous
#845BE8 #CB5BE8 #E85BBE
triadic
#CB5BE8 #E8CB5B #5BE8CB
tetradic
#CB5BE8 #E8845B #78E85B #5BBEE8
square
#CB5BE8 #E8845B #78E85B #5BBEE8
split-complementary
#CB5BE8 #BEE85B #5BE884
monochromatic
#9119B0 #BA25E0 #CB5BE8 #DC91F0 #EDC6F7

Accessibility & contrast

On white

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

On black

6.20
#CB5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE8#FFFFFF#000000##000000
##CB5BE81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#CB7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be8;
/* rgb */ color: rgb(203, 91, 232);
/* oklch */ color: oklch(66.6% 0.221 318.9);
Tailwind
colors: {
  custom: {
    50: '#de90f0',
    500: '#cb5be8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be8;
$custom-light: #de90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be8",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 287.66,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.2212,
    "h": 318.9
  },
  "luminance": 0.26005
}

Semantic roles & 50–950 ramp

primary
#CB5BE8
secondary
#C1E9B6
accent
#D80E37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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