#B96FF4#B96FF4

#B96FF4 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.8% C 0.198 H 307.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B96FF4
RGBrgb(185, 111, 244)
HSLhsl(273, 86%, 70%)
HSVhsv(273, 55%, 96%)
CMYKcmyk(24.2%, 54.5%, 0%, 4.3%)
CIE-LABlab(60.08, 52.95, -55.68)
CIE-LCHlch(60.08, 76.84, 313.56°)
OKLaboklab(67.82% 0.1208 -0.1565)
OKLCHoklch(67.82% 0.198 307.6)
XYZxyz(42.0179, 28.2153, 88.8030)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FF4 #AAF46F
analogous
#766FF4 #B96FF4 #F46FED
triadic
#B96FF4 #F4B96F #6FF4B9
tetradic
#B96FF4 #F4766F #AAF46F #6FEDF4
square
#B96FF4 #F4766F #AAF46F #6FEDF4
split-complementary
#B96FF4 #EDF46F #6FF476
monochromatic
#8011D8 #9D36F0 #B96FF4 #D5A8F8 #F0E1FD

Accessibility & contrast

On white

3.16
#B96FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B96FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FF4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FF4#FFFFFF#000000##000000
##B96FF41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF8
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#B087A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ff4;
/* rgb */ color: rgb(185, 111, 244);
/* oklch */ color: oklch(67.8% 0.198 307.6);
Tailwind
colors: {
  custom: {
    50: '#d19bf8',
    500: '#b96ff4',
    950: '#000000',
  },
}
SCSS
$custom: #b96ff4;
$custom-light: #d19bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ff4",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 273.383,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.19772,
    "h": 307.6
  },
  "luminance": 0.28215
}

Semantic roles & 50–950 ramp

primary
#B96FF4
secondary
#DDF2CC
accent
#E20366
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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