#CB5BE9#CB5BE9

#CB5BE9 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.6% C 0.222 H 318.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE9
RGBrgb(203, 91, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 61%, 91%)
CMYKcmyk(12.9%, 60.9%, 0%, 8.6%)
CIE-LABlab(58.10, 64.68, -52.59)
CIE-LCHlch(58.10, 83.36, 320.88°)
OKLaboklab(66.65% 0.1666 -0.1469)
OKLCHoklch(66.65% 0.222 318.6)
XYZxyz(43.0757, 26.0637, 79.8368)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE9 #79E95B
analogous
#845BE9 #CB5BE9 #E95BC0
triadic
#CB5BE9 #E9CB5B #5BE9CB
tetradic
#CB5BE9 #E9845B #79E95B #5BC0E9
square
#CB5BE9 #E9845B #79E95B #5BC0E9
split-complementary
#CB5BE9 #C0E95B #5BE984
monochromatic
#9118B2 #BA25E2 #CB5BE9 #DC91F0 #EDC7F7

Accessibility & contrast

On white

3.38
#CB5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CB5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE9#FFFFFF#000000##000000
##CB5BE91.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484ED
Deuteranopia (green-blind)
#638FE5
Tritanopia (blue-blind)
#CB739A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5be9;
/* rgb */ color: rgb(203, 91, 233);
/* oklch */ color: oklch(66.6% 0.222 318.6);
Tailwind
colors: {
  custom: {
    50: '#de90f1',
    500: '#cb5be9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be9;
$custom-light: #de90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be9",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 287.324,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6665,
    "c": 0.22213,
    "h": 318.6
  },
  "luminance": 0.26062
}

Semantic roles & 50–950 ramp

primary
#CB5BE9
secondary
#C1E9B7
accent
#D90D38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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