#B96DFE#B96DFE

#B96DFE is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.1% C 0.212 H 305.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B96DFE
RGBrgb(185, 109, 254)
HSLhsl(271, 99%, 71%)
HSVhsv(271, 57%, 100%)
CMYKcmyk(27.2%, 57.1%, 0%, 0.4%)
CIE-LABlab(60.26, 56.22, -60.93)
CIE-LCHlch(60.26, 82.91, 312.70°)
OKLaboklab(68.13% 0.1235 -0.1719)
OKLCHoklch(68.13% 0.212 305.7)
XYZxyz(43.3618, 28.4077, 96.9456)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DFE #B2FE6D
analogous
#706DFE #B96DFE #FE6DFB
triadic
#B96DFE #FEB96D #6DFEB9
tetradic
#B96DFE #FE706D #B2FE6D #6DFBFE
square
#B96DFE #FE706D #B2FE6D #6DFBFE
split-complementary
#B96DFE #FBFE6D #6DFE70
monochromatic
#7E02EF #9C30FE #B96DFE #D6AAFE #F0E1FF

Accessibility & contrast

On white

3.14
#B96DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B96DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DFE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DFE#FFFFFF#000000##000000
##B96DFE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#AD89AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96dfe;
/* rgb */ color: rgb(185, 109, 254);
/* oklch */ color: oklch(68.1% 0.212 305.7);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#b96dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b96dfe;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dfe",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 271.448,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.21168,
    "h": 305.7
  },
  "luminance": 0.28407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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