#CB5BE5#CB5BE5

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

Color values

HEX#CB5BE5
RGBrgb(203, 91, 229)
HSLhsl(289, 73%, 63%)
HSVhsv(289, 60%, 90%)
CMYKcmyk(11.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(57.88, 63.92, -50.70)
CIE-LCHlch(57.88, 81.58, 321.58°)
OKLaboklab(66.43% 0.1665 -0.1414)
OKLCHoklch(66.43% 0.218 319.7)
XYZxyz(42.5108, 25.8377, 76.8615)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE5 #75E55B
analogous
#865BE5 #CB5BE5 #E55BBA
triadic
#CB5BE5 #E5CB5B #5BE5CB
tetradic
#CB5BE5 #E5865B #75E55B #5BBAE5
square
#CB5BE5 #E5865B #75E55B #5BBAE5
split-complementary
#CB5BE5 #BAE55B #5BE586
monochromatic
#901BAB #BA26DD #CB5BE5 #DC90ED #ECC5F6

Accessibility & contrast

On white

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

On black

6.17
#CB5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE5#FFFFFF#000000##000000
##CB5BE51.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E9
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#CC7198
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be5;
/* rgb */ color: rgb(203, 91, 229);
/* oklch */ color: oklch(66.4% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#de90ee',
    500: '#cb5be5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be5;
$custom-light: #de90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be5",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 288.696,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.21843,
    "h": 319.7
  },
  "luminance": 0.25836
}

Semantic roles & 50–950 ramp

primary
#CB5BE5
secondary
#BEE7B5
accent
#D51136
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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