#B96DF1#B96DF1

#B96DF1 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.4% C 0.197 H 308.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B96DF1
RGBrgb(185, 109, 241)
HSLhsl(275, 83%, 69%)
HSVhsv(275, 55%, 95%)
CMYKcmyk(23.2%, 54.8%, 0%, 5.5%)
CIE-LABlab(59.53, 53.31, -54.90)
CIE-LCHlch(59.53, 76.53, 314.16°)
OKLaboklab(67.36% 0.1232 -0.1543)
OKLCHoklch(67.36% 0.197 308.6)
XYZxyz(41.3503, 27.6030, 86.3516)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF1 #A5F16D
analogous
#776DF1 #B96DF1 #F16DE7
triadic
#B96DF1 #F1B96D #6DF1B9
tetradic
#B96DF1 #F1776D #A5F16D #6DE7F1
square
#B96DF1 #F1776D #A5F16D #6DE7F1
split-complementary
#B96DF1 #E7F16D #6DF177
monochromatic
#8014D0 #9E35EC #B96DF1 #D4A5F6 #EFDDFC

Accessibility & contrast

On white

3.22
#B96DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B96DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF1#FFFFFF#000000##000000
##B96DF11.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#5D90EE
Tritanopia (blue-blind)
#B185A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96df1;
/* rgb */ color: rgb(185, 109, 241);
/* oklch */ color: oklch(67.4% 0.197 308.6);
Tailwind
colors: {
  custom: {
    50: '#d19af6',
    500: '#b96df1',
    950: '#000000',
  },
}
SCSS
$custom: #b96df1;
$custom-light: #d19af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df1",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 274.545,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.19739,
    "h": 308.6
  },
  "luminance": 0.27602
}

Semantic roles & 50–950 ramp

primary
#B96DF1
secondary
#DAF1C9
accent
#DF0762
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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