#CB5BE4#CB5BE4

#CB5BE4 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.218 H 319.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE4
RGBrgb(203, 91, 228)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 60%, 89%)
CMYKcmyk(11%, 60.1%, 0%, 10.6%)
CIE-LABlab(57.83, 63.73, -50.22)
CIE-LCHlch(57.83, 81.14, 321.76°)
OKLaboklab(66.37% 0.1665 -0.14)
OKLCHoklch(66.37% 0.218 319.9)
XYZxyz(42.3715, 25.7820, 76.1283)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE4 #74E45B
analogous
#865BE4 #CB5BE4 #E45BB9
triadic
#CB5BE4 #E4CB5B #5BE4CB
tetradic
#CB5BE4 #E4865B #74E45B #5BB9E4
square
#CB5BE4 #E4865B #74E45B #5BB9E4
split-complementary
#CB5BE4 #B9E45B #5BE486
monochromatic
#8F1CA9 #BA26DB #CB5BE4 #DC90ED #ECC4F5

Accessibility & contrast

On white

3.41
#CB5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CB5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE4#FFFFFF#000000##000000
##CB5BE41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#CC7197
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be4;
/* rgb */ color: rgb(203, 91, 228);
/* oklch */ color: oklch(66.4% 0.218 319.9);
Tailwind
colors: {
  custom: {
    50: '#de90ed',
    500: '#cb5be4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be4;
$custom-light: #de90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be4",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 289.051,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.21751,
    "h": 319.9
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

primary
#CB5BE4
secondary
#BEE6B4
accent
#D41235
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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