#B96AED#B96AED

#B96AED is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.7% C 0.198 H 309.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B96AED
RGBrgb(185, 106, 237)
HSLhsl(276, 78%, 67%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(21.9%, 55.3%, 0%, 7.1%)
CIE-LABlab(58.73, 53.96, -53.95)
CIE-LCHlch(58.73, 76.31, 315.01°)
OKLaboklab(66.7% 0.1268 -0.1515)
OKLCHoklch(66.7% 0.198 309.9)
XYZxyz(40.4448, 26.7375, 83.1346)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AED #9EED6A
analogous
#786AED #B96AED #ED6AE0
triadic
#B96AED #EDB96A #6AEDB9
tetradic
#B96AED #ED786A #9EED6A #6AE0ED
square
#B96AED #ED786A #9EED6A #6AE0ED
split-complementary
#B96AED #E0ED6A #6AED78
monochromatic
#8018C5 #9F33E6 #B96AED #D3A1F4 #ECD7FA

Accessibility & contrast

On white

3.31
#B96AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B96AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AED
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AED#FFFFFF#000000##000000
##B96AED1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF1
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#B281A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96aed;
/* rgb */ color: rgb(185, 106, 237);
/* oklch */ color: oklch(66.7% 0.198 309.9);
Tailwind
colors: {
  custom: {
    50: '#d198f3',
    500: '#b96aed',
    950: '#000000',
  },
}
SCSS
$custom: #b96aed;
$custom-light: #d198f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96aed",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 276.183,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66704,
    "c": 0.19752,
    "h": 309.9
  },
  "luminance": 0.26737
}

Semantic roles & 50–950 ramp

primary
#B96AED
secondary
#D5EEC5
accent
#DB0B5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96AED

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

Preview Lab → · Contrast checker → · Palette generator →

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