#B96AFC#B96AFC

#B96AFC is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.6% C 0.214 H 306.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B96AFC
RGBrgb(185, 106, 252)
HSLhsl(272, 96%, 70%)
HSVhsv(272, 58%, 99%)
CMYKcmyk(26.6%, 57.9%, 0%, 1.2%)
CIE-LABlab(59.57, 57.29, -60.92)
CIE-LCHlch(59.57, 83.63, 313.24°)
OKLaboklab(67.59% 0.1271 -0.1719)
OKLCHoklch(67.59% 0.214 306.5)
XYZxyz(42.7286, 27.6510, 95.1628)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AFC #ADFC6A
analogous
#706AFC #B96AFC #FC6AF6
triadic
#B96AFC #FCB96A #6AFCB9
tetradic
#B96AFC #FC706A #ADFC6A #6AF6FC
square
#B96AFC #FC706A #ADFC6A #6AF6FC
split-complementary
#B96AFC #F6FC6A #6AFC70
monochromatic
#7F05E7 #9D2EFB #B96AFC #D5A6FD #F1E1FE

Accessibility & contrast

On white

3.22
#B96AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B96AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AFC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AFC#FFFFFF#000000##000000
##B96AFC1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8DFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#AE86A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96afc;
/* rgb */ color: rgb(185, 106, 252);
/* oklch */ color: oklch(67.6% 0.214 306.5);
Tailwind
colors: {
  custom: {
    50: '#d298fe',
    500: '#b96afc',
    950: '#000000',
  },
}
SCSS
$custom: #b96afc;
$custom-light: #d298fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b96afc",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 272.466,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67591,
    "c": 0.21377,
    "h": 306.5
  },
  "luminance": 0.27651
}

Semantic roles & 50–950 ramp

primary
#B96AFC
secondary
#DFF5CD
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B96AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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