#B96BEF#B96BEF

#B96BEF is a light, vivid violet. Relative luminance 0.271; OKLCH L 67.0% C 0.198 H 309.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B96BEF
RGBrgb(185, 107, 239)
HSLhsl(275, 80%, 68%)
HSVhsv(275, 55%, 94%)
CMYKcmyk(22.6%, 55.2%, 0%, 6.3%)
CIE-LABlab(59.03, 53.89, -54.58)
CIE-LCHlch(59.03, 76.71, 314.63°)
OKLaboklab(66.96% 0.1256 -0.1533)
OKLCHoklch(66.96% 0.198 309.3)
XYZxyz(40.8423, 27.0623, 84.7166)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BEF #A1EF6B
analogous
#776BEF #B96BEF #EF6BE3
triadic
#B96BEF #EFB96B #6BEFB9
tetradic
#B96BEF #EF776B #A1EF6B #6BE3EF
square
#B96BEF #EF776B #A1EF6B #6BE3EF
split-complementary
#B96BEF #E3EF6B #6BEF77
monochromatic
#8016CA #9F34E9 #B96BEF #D3A2F5 #EDD9FB

Accessibility & contrast

On white

3.27
#B96BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B96BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BEF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BEF#FFFFFF#000000##000000
##B96BEF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#B283A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bef;
/* rgb */ color: rgb(185, 107, 239);
/* oklch */ color: oklch(67.0% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#d198f5',
    500: '#b96bef',
    950: '#000000',
  },
}
SCSS
$custom: #b96bef;
$custom-light: #d198f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bef",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 275.455,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.1982,
    "h": 309.3
  },
  "luminance": 0.27062
}

Semantic roles & 50–950 ramp

primary
#B96BEF
secondary
#D7EFC7
accent
#DD095F
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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