#B96AF5#B96AF5

#B96AF5 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.2% C 0.206 H 308.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B96AF5
RGBrgb(185, 106, 245)
HSLhsl(274, 87%, 69%)
HSVhsv(274, 57%, 96%)
CMYKcmyk(24.5%, 56.7%, 0%, 3.9%)
CIE-LABlab(59.17, 55.72, -57.69)
CIE-LCHlch(59.17, 80.21, 314.01°)
OKLaboklab(67.17% 0.127 -0.1624)
OKLCHoklch(67.17% 0.206 308)
XYZxyz(41.6397, 27.2155, 89.4280)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AF5 #A6F56A
analogous
#746AF5 #B96AF5 #F56AEB
triadic
#B96AF5 #F5B96A #6AF5B9
tetradic
#B96AF5 #F5746A #A6F56A #6AEBF5
square
#B96AF5 #F5746A #A6F56A #6AEBF5
split-complementary
#B96AF5 #EBF56A #6AF574
monochromatic
#800ED6 #9E31F1 #B96AF5 #D4A3F9 #EFDDFD

Accessibility & contrast

On white

3.26
#B96AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B96AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AF5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AF5#FFFFFF#000000##000000
##B96AF51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BFA
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#B084A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96af5;
/* rgb */ color: rgb(185, 106, 245);
/* oklch */ color: oklch(67.2% 0.206 308.0);
Tailwind
colors: {
  custom: {
    50: '#d198f9',
    500: '#b96af5',
    950: '#000000',
  },
}
SCSS
$custom: #b96af5;
$custom-light: #d198f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96af5",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 274.101,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67171,
    "c": 0.20619,
    "h": 308
  },
  "luminance": 0.27215
}

Semantic roles & 50–950 ramp

primary
#B96AF5
secondary
#DBF2C9
accent
#E40263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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