#B96BDD#B96BDD

#B96BDD is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.0% C 0.179 H 314.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B96BDD
RGBrgb(185, 107, 221)
HSLhsl(281, 63%, 64%)
HSVhsv(281, 52%, 87%)
CMYKcmyk(16.3%, 51.6%, 0%, 13.3%)
CIE-LABlab(58.09, 50.02, -46.03)
CIE-LCHlch(58.09, 67.97, 317.38°)
OKLaboklab(65.96% 0.1244 -0.1284)
OKLCHoklch(65.96% 0.179 314.1)
XYZxyz(38.3143, 26.0512, 71.4027)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BDD #8FDD6B
analogous
#806BDD #B96BDD #DD6BC8
triadic
#B96BDD #DDB96B #6BDDB9
tetradic
#B96BDD #DD806B #8FDD6B #6BC8DD
square
#B96BDD #DD806B #8FDD6B #6BC8DD
split-complementary
#B96BDD #C8DD6B #6BDD80
monochromatic
#7F26A7 #A139D2 #B96BDD #D19DE8 #E8CFF4

Accessibility & contrast

On white

3.38
#B96BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B96BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BDD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BDD#FFFFFF#000000##000000
##B96BDD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#B67D9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b96bdd;
/* rgb */ color: rgb(185, 107, 221);
/* oklch */ color: oklch(66.0% 0.179 314.1);
Tailwind
colors: {
  custom: {
    50: '#d098e8',
    500: '#b96bdd',
    950: '#000000',
  },
}
SCSS
$custom: #b96bdd;
$custom-light: #d098e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bdd",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 281.053,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.17873,
    "h": 314.1
  },
  "luminance": 0.2605
}

Semantic roles & 50–950 ramp

primary
#B96BDD
secondary
#CBE6BE
accent
#CA1B52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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