#B96CF1#B96CF1

#B96CF1 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.2% C 0.199 H 308.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B96CF1
RGBrgb(185, 108, 241)
HSLhsl(275, 83%, 68%)
HSVhsv(275, 55%, 95%)
CMYKcmyk(23.2%, 55.2%, 0%, 5.5%)
CIE-LABlab(59.33, 53.82, -55.21)
CIE-LCHlch(59.33, 77.11, 314.27°)
OKLaboklab(67.22% 0.1244 -0.1552)
OKLCHoklch(67.22% 0.199 308.7)
XYZxyz(41.2442, 27.3909, 86.3163)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CF1 #A4F16C
analogous
#766CF1 #B96CF1 #F16CE6
triadic
#B96CF1 #F1B96C #6CF1B9
tetradic
#B96CF1 #F1766C #A4F16C #6CE6F1
square
#B96CF1 #F1766C #A4F16C #6CE6F1
split-complementary
#B96CF1 #E6F16C #6CF176
monochromatic
#8014CF #9E34EC #B96CF1 #D4A4F6 #EEDCFC

Accessibility & contrast

On white

3.24
#B96CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B96CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CF1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CF1#FFFFFF#000000##000000
##B96CF11.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF5
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#B184A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96cf1;
/* rgb */ color: rgb(185, 108, 241);
/* oklch */ color: oklch(67.2% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#d199f6',
    500: '#b96cf1',
    950: '#000000',
  },
}
SCSS
$custom: #b96cf1;
$custom-light: #d199f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b96cf1",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 274.737,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67218,
    "c": 0.19888,
    "h": 308.7
  },
  "luminance": 0.2739
}

Semantic roles & 50–950 ramp

primary
#B96CF1
secondary
#D9F0C8
accent
#DF0662
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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