#B96AFF#B96AFF

#B96AFF is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.8% C 0.217 H 305.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B96AFF
RGBrgb(185, 106, 255)
HSLhsl(272, 100%, 71%)
HSVhsv(272, 58%, 100%)
CMYKcmyk(27.5%, 58.4%, 0%, 0%)
CIE-LABlab(59.75, 57.96, -62.30)
CIE-LCHlch(59.75, 85.09, 312.93°)
OKLaboklab(67.77% 0.1271 -0.1759)
OKLCHoklch(67.77% 0.217 305.9)
XYZxyz(43.2078, 27.8427, 97.6863)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AFF #B0FF6A
analogous
#6E6AFF #B96AFF #FF6AFB
triadic
#B96AFF #FFB96A #6AFFB9
tetradic
#B96AFF #FF6E6A #B0FF6A #6AFBFF
square
#B96AFF #FF6E6A #B0FF6A #6AFBFF
split-complementary
#B96AFF #FBFF6A #6AFF6E
monochromatic
#7F00EF #9C2DFF #B96AFF #D6A7FF #F1E0FF

Accessibility & contrast

On white

3.20
#B96AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B96AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AFF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AFF#FFFFFF#000000##000000
##B96AFF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#278DFF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#AD87AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96aff;
/* rgb */ color: rgb(185, 106, 255);
/* oklch */ color: oklch(67.8% 0.217 305.9);
Tailwind
colors: {
  custom: {
    50: '#d298ff',
    500: '#b96aff',
    950: '#000000',
  },
}
SCSS
$custom: #b96aff;
$custom-light: #d298ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aff",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 271.812,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67774,
    "c": 0.21701,
    "h": 305.9
  },
  "luminance": 0.27842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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