#B96BF3#B96BF3

#B96BF3 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.2% C 0.203 H 308.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B96BF3
RGBrgb(185, 107, 243)
HSLhsl(274, 85%, 69%)
HSVhsv(274, 56%, 95%)
CMYKcmyk(23.9%, 56%, 0%, 4.7%)
CIE-LABlab(59.25, 54.77, -56.45)
CIE-LCHlch(59.25, 78.66, 314.13°)
OKLaboklab(67.19% 0.1258 -0.1588)
OKLCHoklch(67.19% 0.203 308.4)
XYZxyz(41.4397, 27.3013, 87.8633)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF3 #A5F36B
analogous
#756BF3 #B96BF3 #F36BE9
triadic
#B96BF3 #F3B96B #6BF3B9
tetradic
#B96BF3 #F3756B #A5F36B #6BE9F3
square
#B96BF3 #F3756B #A5F36B #6BE9F3
split-complementary
#B96BF3 #E9F36B #6BF375
monochromatic
#8011D3 #9E32EE #B96BF3 #D4A4F8 #EFDCFC

Accessibility & contrast

On white

3.25
#B96BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B96BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF3#FFFFFF#000000##000000
##B96BF31.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#B184A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf3;
/* rgb */ color: rgb(185, 107, 243);
/* oklch */ color: oklch(67.2% 0.203 308.4);
Tailwind
colors: {
  custom: {
    50: '#d198f8',
    500: '#b96bf3',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf3;
$custom-light: #d198f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf3",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 274.412,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67193,
    "c": 0.20255,
    "h": 308.4
  },
  "luminance": 0.27301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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