#B96AFA#B96AFA

#B96AFA is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.5% C 0.212 H 306.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B96AFA
RGBrgb(185, 106, 250)
HSLhsl(273, 94%, 70%)
HSVhsv(273, 58%, 98%)
CMYKcmyk(26%, 57.6%, 0%, 2%)
CIE-LABlab(59.46, 56.84, -60.00)
CIE-LCHlch(59.46, 82.65, 313.45°)
OKLaboklab(67.47% 0.1271 -0.1692)
OKLCHoklch(67.47% 0.212 306.9)
XYZxyz(42.4134, 27.5249, 93.5024)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AFA #ABFA6A
analogous
#716AFA #B96AFA #FA6AF3
triadic
#B96AFA #FAB96A #6AFAB9
tetradic
#B96AFA #FA716A #ABFA6A #6AF3FA
square
#B96AFA #FA716A #ABFA6A #6AF3FA
split-complementary
#B96AFA #F3FA6A #6AFA71
monochromatic
#7F08E2 #9D2FF8 #B96AFA #D5A5FC #F1E0FE

Accessibility & contrast

On white

3.23
#B96AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B96AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AFA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AFA#FFFFFF#000000##000000
##B96AFA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#AF86A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96afa;
/* rgb */ color: rgb(185, 106, 250);
/* oklch */ color: oklch(67.5% 0.212 306.9);
Tailwind
colors: {
  custom: {
    50: '#d298fd',
    500: '#b96afa',
    950: '#000000',
  },
}
SCSS
$custom: #b96afa;
$custom-light: #d298fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b96afa",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 272.917,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6747,
    "c": 0.2116,
    "h": 306.9
  },
  "luminance": 0.27524
}

Semantic roles & 50–950 ramp

primary
#B96AFA
secondary
#DEF4CC
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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