#B96BEC#B96BEC

#B96BEC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.8% C 0.195 H 310.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B96BEC
RGBrgb(185, 107, 236)
HSLhsl(276, 77%, 67%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(21.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(58.87, 53.24, -53.17)
CIE-LCHlch(58.87, 75.24, 315.03°)
OKLaboklab(66.79% 0.1255 -0.1492)
OKLCHoklch(66.79% 0.195 310.1)
XYZxyz(40.4027, 26.8865, 82.4018)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BEC #9EEC6B
analogous
#786BEC #B96BEC #EC6BDF
triadic
#B96BEC #ECB96B #6BECB9
tetradic
#B96BEC #EC786B #9EEC6B #6BDFEC
square
#B96BEC #EC786B #9EEC6B #6BDFEC
split-complementary
#B96BEC #DFEC6B #6BEC78
monochromatic
#8019C4 #9F35E5 #B96BEC #D3A1F3 #ECD7FA

Accessibility & contrast

On white

3.29
#B96BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B96BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BEC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BEC#FFFFFF#000000##000000
##B96BEC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#B282A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bec;
/* rgb */ color: rgb(185, 107, 236);
/* oklch */ color: oklch(66.8% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#d198f3',
    500: '#b96bec',
    950: '#000000',
  },
}
SCSS
$custom: #b96bec;
$custom-light: #d198f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bec",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 276.279,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.19494,
    "h": 310.1
  },
  "luminance": 0.26886
}

Semantic roles & 50–950 ramp

primary
#B96BEC
secondary
#D5EEC5
accent
#D90C5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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