#B96AEA#B96AEA

#B96AEA is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.5% C 0.194 H 310.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B96AEA
RGBrgb(185, 106, 234)
HSLhsl(277, 75%, 67%)
HSVhsv(277, 55%, 92%)
CMYKcmyk(20.9%, 54.7%, 0%, 8.2%)
CIE-LABlab(58.57, 53.31, -52.54)
CIE-LCHlch(58.57, 74.85, 315.42°)
OKLaboklab(66.53% 0.1266 -0.1473)
OKLCHoklch(66.53% 0.194 310.7)
XYZxyz(40.0101, 26.5637, 80.8455)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AEA #9BEA6A
analogous
#796AEA #B96AEA #EA6ADB
triadic
#B96AEA #EAB96A #6AEAB9
tetradic
#B96AEA #EA796A #9BEA6A #6ADBEA
square
#B96AEA #EA796A #9BEA6A #6ADBEA
split-complementary
#B96AEA #DBEA6A #6AEA79
monochromatic
#801BBF #A034E2 #B96AEA #D2A0F2 #EBD5F9

Accessibility & contrast

On white

3.33
#B96AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B96AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AEA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AEA#FFFFFF#000000##000000
##B96AEA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#5F8EE7
Tritanopia (blue-blind)
#B380A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96aea;
/* rgb */ color: rgb(185, 106, 234);
/* oklch */ color: oklch(66.5% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#d197f1',
    500: '#b96aea',
    950: '#000000',
  },
}
SCSS
$custom: #b96aea;
$custom-light: #d197f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aea",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 277.031,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66532,
    "c": 0.19428,
    "h": 310.7
  },
  "luminance": 0.26563
}

Semantic roles & 50–950 ramp

primary
#B96AEA
secondary
#D3EDC3
accent
#D70E5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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