#B96EFD#B96EFD

#B96EFD is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.2% C 0.209 H 305.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B96EFD
RGBrgb(185, 110, 253)
HSLhsl(271, 97%, 71%)
HSVhsv(271, 57%, 99%)
CMYKcmyk(26.9%, 56.5%, 0%, 0.8%)
CIE-LABlab(60.39, 55.49, -60.17)
CIE-LCHlch(60.39, 81.85, 312.68°)
OKLaboklab(68.21% 0.1223 -0.1697)
OKLCHoklch(68.21% 0.209 305.8)
XYZxyz(43.3094, 28.5583, 96.1402)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EFD #B2FD6E
analogous
#716EFD #B96EFD #FD6EF9
triadic
#B96EFD #FDB96E #6EFDB9
tetradic
#B96EFD #FD716E #B2FD6E #6EF9FD
square
#B96EFD #FD716E #B2FD6E #6EF9FD
split-complementary
#B96EFD #F9FD6E #6EFD71
monochromatic
#7E03ED #9C32FC #B96EFD #D6AAFE #F0E1FF

Accessibility & contrast

On white

3.13
#B96EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B96EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EFD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EFD#FFFFFF#000000##000000
##B96EFD1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#AE89AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b96efd;
/* rgb */ color: rgb(185, 110, 253);
/* oklch */ color: oklch(68.2% 0.209 305.8);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#b96efd',
    950: '#000000',
  },
}
SCSS
$custom: #b96efd;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96efd",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 271.469,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.20913,
    "h": 305.8
  },
  "luminance": 0.28558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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