#B96BDF#B96BDF

#B96BDF is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.1% C 0.181 H 313.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B96BDF
RGBrgb(185, 107, 223)
HSLhsl(280, 64%, 65%)
HSVhsv(280, 52%, 87%)
CMYKcmyk(17%, 52%, 0%, 12.5%)
CIE-LABlab(58.19, 50.44, -46.99)
CIE-LCHlch(58.19, 68.94, 317.03°)
OKLaboklab(66.07% 0.1246 -0.1312)
OKLCHoklch(66.07% 0.181 313.5)
XYZxyz(38.5823, 26.1584, 72.8144)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BDF #91DF6B
analogous
#7F6BDF #B96BDF #DF6BCB
triadic
#B96BDF #DFB96B #6BDFB9
tetradic
#B96BDF #DF7F6B #91DF6B #6BCBDF
square
#B96BDF #DF7F6B #91DF6B #6BCBDF
split-complementary
#B96BDF #CBDF6B #6BDF7F
monochromatic
#7F25AB #A139D4 #B96BDF #D19DEA #E9D0F5

Accessibility & contrast

On white

3.37
#B96BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B96BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BDF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BDF#FFFFFF#000000##000000
##B96BDF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#B67E9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b96bdf;
/* rgb */ color: rgb(185, 107, 223);
/* oklch */ color: oklch(66.1% 0.181 313.5);
Tailwind
colors: {
  custom: {
    50: '#d098e9',
    500: '#b96bdf',
    950: '#000000',
  },
}
SCSS
$custom: #b96bdf;
$custom-light: #d098e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bdf",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 280.345,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66065,
    "c": 0.18088,
    "h": 313.5
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#B96BDF
secondary
#CCE7BF
accent
#CC1954
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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