#B96DEB#B96DEB

#B96DEB is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.191 H 310.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B96DEB
RGBrgb(185, 109, 235)
HSLhsl(276, 76%, 67%)
HSVhsv(276, 54%, 92%)
CMYKcmyk(21.3%, 53.6%, 0%, 7.8%)
CIE-LABlab(59.21, 51.99, -52.08)
CIE-LCHlch(59.21, 73.59, 314.95°)
OKLaboklab(67.02% 0.1228 -0.146)
OKLCHoklch(67.02% 0.191 310.1)
XYZxyz(40.4688, 27.2505, 81.7091)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DEB #9FEB6D
analogous
#7A6DEB #B96DEB #EB6DDE
triadic
#B96DEB #EBB96D #6DEBB9
tetradic
#B96DEB #EB7A6D #9FEB6D #6DDEEB
square
#B96DEB #EB7A6D #9FEB6D #6DDEEB
split-complementary
#B96DEB #DEEB6D #6DEB7A
monochromatic
#801BC3 #9F37E4 #B96DEB #D3A3F2 #EDD9FA

Accessibility & contrast

On white

3.26
#B96DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B96DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DEB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DEB#FFFFFF#000000##000000
##B96DEB1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#B383A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96deb;
/* rgb */ color: rgb(185, 109, 235);
/* oklch */ color: oklch(67.0% 0.191 310.1);
Tailwind
colors: {
  custom: {
    50: '#d199f2',
    500: '#b96deb',
    950: '#000000',
  },
}
SCSS
$custom: #b96deb;
$custom-light: #d199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b96deb",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 276.19,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.19081,
    "h": 310.1
  },
  "luminance": 0.2725
}

Semantic roles & 50–950 ramp

primary
#B96DEB
secondary
#D6EEC6
accent
#D80D5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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