#B96AFD#B96AFD

#B96AFD is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.7% C 0.215 H 306.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B96AFD
RGBrgb(185, 106, 253)
HSLhsl(272, 97%, 70%)
HSVhsv(272, 58%, 99%)
CMYKcmyk(26.9%, 58.1%, 0%, 0.8%)
CIE-LABlab(59.63, 57.51, -61.38)
CIE-LCHlch(59.63, 84.11, 313.13°)
OKLaboklab(67.65% 0.1271 -0.1732)
OKLCHoklch(67.65% 0.215 306.3)
XYZxyz(42.8875, 27.7146, 95.9996)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AFD #AEFD6A
analogous
#6F6AFD #B96AFD #FD6AF7
triadic
#B96AFD #FDB96A #6AFDB9
tetradic
#B96AFD #FD6F6A #AEFD6A #6AF7FD
square
#B96AFD #FD6F6A #AEFD6A #6AF7FD
split-complementary
#B96AFD #F7FD6A #6AFD6F
monochromatic
#7F03E9 #9D2EFC #B96AFD #D5A6FE #F1E1FF

Accessibility & contrast

On white

3.21
#B96AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B96AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AFD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AFD#FFFFFF#000000##000000
##B96AFD1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#AE87AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96afd;
/* rgb */ color: rgb(185, 106, 253);
/* oklch */ color: oklch(67.7% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#d298ff',
    500: '#b96afd',
    950: '#000000',
  },
}
SCSS
$custom: #b96afd;
$custom-light: #d298ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96afd",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 272.245,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67652,
    "c": 0.21485,
    "h": 306.3
  },
  "luminance": 0.27714
}

Semantic roles & 50–950 ramp

primary
#B96AFD
secondary
#E0F6CD
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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