#B96DEA#B96DEA

#B96DEA is a light, vivid violet. Relative luminance 0.272; OKLCH L 67.0% C 0.190 H 310.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B96DEA
RGBrgb(185, 109, 234)
HSLhsl(276, 75%, 67%)
HSVhsv(276, 53%, 92%)
CMYKcmyk(20.9%, 53.4%, 0%, 8.2%)
CIE-LABlab(59.15, 51.77, -51.61)
CIE-LCHlch(59.15, 73.10, 315.09°)
OKLaboklab(66.96% 0.1228 -0.1446)
OKLCHoklch(66.96% 0.19 310.3)
XYZxyz(40.3247, 27.1928, 80.9504)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DEA #9EEA6D
analogous
#7B6DEA #B96DEA #EA6DDC
triadic
#B96DEA #EAB96D #6DEAB9
tetradic
#B96DEA #EA7B6D #9EEA6D #6DDCEA
square
#B96DEA #EA7B6D #9EEA6D #6DDCEA
split-complementary
#B96DEA #DCEA6D #6DEA7B
monochromatic
#801CC1 #9F37E2 #B96DEA #D3A3F2 #ECD8F9

Accessibility & contrast

On white

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

On black

6.44
#B96DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DEA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DEA#FFFFFF#000000##000000
##B96DEA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#B383A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96dea;
/* rgb */ color: rgb(185, 109, 234);
/* oklch */ color: oklch(67.0% 0.190 310.3);
Tailwind
colors: {
  custom: {
    50: '#d199f1',
    500: '#b96dea',
    950: '#000000',
  },
}
SCSS
$custom: #b96dea;
$custom-light: #d199f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dea",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 276.48,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.18972,
    "h": 310.3
  },
  "luminance": 0.27192
}

Semantic roles & 50–950 ramp

primary
#B96DEA
secondary
#D5EDC6
accent
#D70E5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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