#B96BF9#B96BF9

#B96BF9 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.5% C 0.209 H 307.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B96BF9
RGBrgb(185, 107, 249)
HSLhsl(273, 92%, 70%)
HSVhsv(273, 57%, 98%)
CMYKcmyk(25.7%, 57%, 0%, 2.4%)
CIE-LABlab(59.59, 56.11, -59.24)
CIE-LCHlch(59.59, 81.59, 313.45°)
OKLaboklab(67.55% 0.1259 -0.1669)
OKLCHoklch(67.55% 0.209 307)
XYZxyz(42.3606, 27.6697, 92.7134)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF9 #ABF96B
analogous
#726BF9 #B96BF9 #F96BF2
triadic
#B96BF9 #F9B96B #6BF9B9
tetradic
#B96BF9 #F9726B #ABF96B #6BF2F9
square
#B96BF9 #F9726B #ABF96B #6BF2F9
split-complementary
#B96BF9 #F2F96B #6BF972
monochromatic
#7F09E0 #9D30F7 #B96BF9 #D5A6FB #F1E1FE

Accessibility & contrast

On white

3.21
#B96BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B96BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF9#FFFFFF#000000##000000
##B96BF91.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#AF86A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf9;
/* rgb */ color: rgb(185, 107, 249);
/* oklch */ color: oklch(67.5% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#d298fc',
    500: '#b96bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf9;
$custom-light: #d298fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf9",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 272.958,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.20908,
    "h": 307
  },
  "luminance": 0.27669
}

Semantic roles & 50–950 ramp

primary
#B96BF9
secondary
#DEF4CC
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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