#B96AE3#B96AE3

#B96AE3 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.187 H 312.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B96AE3
RGBrgb(185, 106, 227)
HSLhsl(279, 68%, 65%)
HSVhsv(279, 53%, 89%)
CMYKcmyk(18.5%, 53.3%, 0%, 11%)
CIE-LABlab(58.20, 51.81, -49.21)
CIE-LCHlch(58.20, 71.46, 316.47°)
OKLaboklab(66.14% 0.1262 -0.1376)
OKLCHoklch(66.14% 0.187 312.5)
XYZxyz(39.0243, 26.1693, 75.6536)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AE3 #94E36A
analogous
#7D6AE3 #B96AE3 #E36AD0
triadic
#B96AE3 #E3B96A #6AE3B9
tetradic
#B96AE3 #E37D6A #94E36A #6AD0E3
square
#B96AE3 #E37D6A #94E36A #6AD0E3
split-complementary
#B96AE3 #D0E36A #6AE37D
monochromatic
#7F21B1 #A136D9 #B96AE3 #D19EED #E9D1F6

Accessibility & contrast

On white

3.37
#B96AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B96AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AE3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AE3#FFFFFF#000000##000000
##B96AE31.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#648EE0
Tritanopia (blue-blind)
#B57E9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b96ae3;
/* rgb */ color: rgb(185, 106, 227);
/* oklch */ color: oklch(66.1% 0.187 312.5);
Tailwind
colors: {
  custom: {
    50: '#d197ec',
    500: '#b96ae3',
    950: '#000000',
  },
}
SCSS
$custom: #b96ae3;
$custom-light: #d197ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ae3",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 279.174,
    "s": 68.362,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66139,
    "c": 0.18674,
    "h": 312.5
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#B96AE3
secondary
#CEE9C0
accent
#D01556
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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