#B96DFD#B96DFD

#B96DFD is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.1% C 0.211 H 305.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B96DFD
RGBrgb(185, 109, 253)
HSLhsl(272, 97%, 71%)
HSVhsv(272, 57%, 99%)
CMYKcmyk(26.9%, 56.9%, 0%, 0.8%)
CIE-LABlab(60.20, 56.00, -60.47)
CIE-LCHlch(60.20, 82.42, 312.80°)
OKLaboklab(68.07% 0.1235 -0.1706)
OKLCHoklch(68.07% 0.211 305.9)
XYZxyz(43.2021, 28.3438, 96.1044)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DFD #B1FD6D
analogous
#716DFD #B96DFD #FD6DF9
triadic
#B96DFD #FDB96D #6DFDB9
tetradic
#B96DFD #FD716D #B1FD6D #6DF9FD
square
#B96DFD #FD716D #B1FD6D #6DF9FD
split-complementary
#B96DFD #F9FD6D #6DFD71
monochromatic
#7E03EC #9C31FC #B96DFD #D6A9FE #F1E1FF

Accessibility & contrast

On white

3.15
#B96DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B96DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DFD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DFD#FFFFFF#000000##000000
##B96DFD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#AE89AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96dfd;
/* rgb */ color: rgb(185, 109, 253);
/* oklch */ color: oklch(68.1% 0.211 305.9);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#b96dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b96dfd;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dfd",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 271.667,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68067,
    "c": 0.21058,
    "h": 305.9
  },
  "luminance": 0.28343
}

Semantic roles & 50–950 ramp

primary
#B96DFD
secondary
#E2F6D0
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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