#B96AE7#B96AE7

#B96AE7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.4% C 0.191 H 311.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B96AE7
RGBrgb(185, 106, 231)
HSLhsl(278, 72%, 66%)
HSVhsv(278, 54%, 91%)
CMYKcmyk(19.9%, 54.1%, 0%, 9.4%)
CIE-LABlab(58.41, 52.66, -51.12)
CIE-LCHlch(58.41, 73.39, 315.85°)
OKLaboklab(66.36% 0.1265 -0.1432)
OKLCHoklch(66.36% 0.191 311.5)
XYZxyz(39.5828, 26.3927, 78.5949)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96AE7 #98E76A
analogous
#7A6AE7 #B96AE7 #E76AD6
triadic
#B96AE7 #E7B96A #6AE7B9
tetradic
#B96AE7 #E77A6A #98E76A #6AD6E7
square
#B96AE7 #E77A6A #98E76A #6AD6E7
split-complementary
#B96AE7 #D6E76A #6AE77A
monochromatic
#801EB9 #A035DF #B96AE7 #D29FEF #EBD3F8

Accessibility & contrast

On white

3.34
#B96AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B96AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96AE7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96AE7#FFFFFF#000000##000000
##B96AE71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#B4809F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b96ae7;
/* rgb */ color: rgb(185, 106, 231);
/* oklch */ color: oklch(66.4% 0.191 311.5);
Tailwind
colors: {
  custom: {
    50: '#d197ef',
    500: '#b96ae7',
    950: '#000000',
  },
}
SCSS
$custom: #b96ae7;
$custom-light: #d197ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ae7",
  "rgb": {
    "r": 185,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 277.92,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.19104,
    "h": 311.5
  },
  "luminance": 0.26392
}

Semantic roles & 50–950 ramp

primary
#B96AE7
secondary
#D1EBC2
accent
#D41159
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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