#B96BDB#B96BDB

#B96BDB is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.8% C 0.177 H 314.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B96BDB
RGBrgb(185, 107, 219)
HSLhsl(282, 61%, 64%)
HSVhsv(282, 51%, 86%)
CMYKcmyk(15.5%, 51.1%, 0%, 14.1%)
CIE-LABlab(57.98, 49.60, -45.06)
CIE-LCHlch(57.98, 67.01, 317.75°)
OKLaboklab(65.85% 0.1242 -0.1255)
OKLCHoklch(65.85% 0.177 314.7)
XYZxyz(38.0494, 25.9452, 70.0077)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BDB #8DDB6B
analogous
#816BDB #B96BDB #DB6BC5
triadic
#B96BDB #DBB96B #6BDBB9
tetradic
#B96BDB #DB816B #8DDB6B #6BC5DB
square
#B96BDB #DB816B #8DDB6B #6BC5DB
split-complementary
#B96BDB #C5DB6B #6BDB81
monochromatic
#7E28A4 #A23ACF #B96BDB #D09CE7 #E8CDF3

Accessibility & contrast

On white

3.39
#B96BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B96BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BDB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BDB#FFFFFF#000000##000000
##B96BDB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#6A8DD8
Tritanopia (blue-blind)
#B77D99
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b96bdb;
/* rgb */ color: rgb(185, 107, 219);
/* oklch */ color: oklch(65.8% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#d098e6',
    500: '#b96bdb',
    950: '#000000',
  },
}
SCSS
$custom: #b96bdb;
$custom-light: #d098e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bdb",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 281.786,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.17658,
    "h": 314.7
  },
  "luminance": 0.25944
}

Semantic roles & 50–950 ramp

primary
#B96BDB
secondary
#C9E5BD
accent
#C91D51
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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