#B96BD2#B96BD2

#B96BD2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.4% C 0.167 H 317.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B96BD2
RGBrgb(185, 107, 210)
HSLhsl(285, 53%, 62%)
HSVhsv(285, 49%, 82%)
CMYKcmyk(11.9%, 49%, 0%, 17.6%)
CIE-LABlab(57.54, 47.74, -40.68)
CIE-LCHlch(57.54, 62.72, 319.57°)
OKLaboklab(65.38% 0.1231 -0.1128)
OKLCHoklch(65.38% 0.167 317.5)
XYZxyz(36.8965, 25.4840, 63.9356)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BD2 #84D26B
analogous
#866BD2 #B96BD2 #D26BB8
triadic
#B96BD2 #D2B96B #6BD2B9
tetradic
#B96BD2 #D2866B #84D26B #6BB8D2
square
#B96BD2 #D2866B #84D26B #6BB8D2
split-complementary
#B96BD2 #B8D26B #6BD286
monochromatic
#7C2D95 #A33CC4 #B96BD2 #CF9AE0 #E5C9EF

Accessibility & contrast

On white

3.44
#B96BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B96BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BD2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BD2#FFFFFF#000000##000000
##B96BD21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D6
Deuteranopia (green-blind)
#6F8DCF
Tritanopia (blue-blind)
#B97A95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b96bd2;
/* rgb */ color: rgb(185, 107, 210);
/* oklch */ color: oklch(65.4% 0.167 317.5);
Tailwind
colors: {
  custom: {
    50: '#d098e0',
    500: '#b96bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b96bd2;
$custom-light: #d098e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bd2",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 285.437,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.16702,
    "h": 317.5
  },
  "luminance": 0.25483
}

Semantic roles & 50–950 ramp

primary
#B96BD2
secondary
#C3DFB9
accent
#C1254B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #B96BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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