#B96DF5#B96DF5

#B96DF5 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.202 H 307.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B96DF5
RGBrgb(185, 109, 245)
HSLhsl(274, 87%, 69%)
HSVhsv(274, 56%, 96%)
CMYKcmyk(24.5%, 55.5%, 0%, 3.9%)
CIE-LABlab(59.75, 54.20, -56.77)
CIE-LCHlch(59.75, 78.49, 313.67°)
OKLaboklab(67.59% 0.1233 -0.1597)
OKLCHoklch(67.59% 0.202 307.7)
XYZxyz(41.9543, 27.8447, 89.5329)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF5 #A9F56D
analogous
#756DF5 #B96DF5 #F56DED
triadic
#B96DF5 #F5B96D #6DF5B9
tetradic
#B96DF5 #F5756D #A9F56D #6DEDF5
square
#B96DF5 #F5756D #A9F56D #6DEDF5
split-complementary
#B96DF5 #EDF56D #6DF575
monochromatic
#800FD9 #9E34F1 #B96DF5 #D4A6F9 #F0E0FD

Accessibility & contrast

On white

3.20
#B96DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B96DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF5#FFFFFF#000000##000000
##B96DF51.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#B086A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96df5;
/* rgb */ color: rgb(185, 109, 245);
/* oklch */ color: oklch(67.6% 0.202 307.7);
Tailwind
colors: {
  custom: {
    50: '#d19af9',
    500: '#b96df5',
    950: '#000000',
  },
}
SCSS
$custom: #b96df5;
$custom-light: #d19af9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df5",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 273.529,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67593,
    "c": 0.20179,
    "h": 307.7
  },
  "luminance": 0.27844
}

Semantic roles & 50–950 ramp

primary
#B96DF5
secondary
#DDF2CB
accent
#E40265
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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