#B96DE9#B96DE9

#B96DE9 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.9% C 0.189 H 310.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B96DE9
RGBrgb(185, 109, 233)
HSLhsl(277, 74%, 67%)
HSVhsv(277, 53%, 91%)
CMYKcmyk(20.6%, 53.2%, 0%, 8.6%)
CIE-LABlab(59.10, 51.56, -51.14)
CIE-LCHlch(59.10, 72.61, 315.23°)
OKLaboklab(66.91% 0.1227 -0.1432)
OKLCHoklch(66.91% 0.189 310.6)
XYZxyz(40.1815, 27.1355, 80.1959)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DE9 #9DE96D
analogous
#7B6DE9 #B96DE9 #E96DDB
triadic
#B96DE9 #E9B96D #6DE9B9
tetradic
#B96DE9 #E97B6D #9DE96D #6DDBE9
square
#B96DE9 #E97B6D #9DE96D #6DDBE9
split-complementary
#B96DE9 #DBE96D #6DE97B
monochromatic
#801DBF #9F38E1 #B96DE9 #D3A2F1 #ECD7F9

Accessibility & contrast

On white

3.27
#B96DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B96DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DE9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DE9#FFFFFF#000000##000000
##B96DE91.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#B382A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96de9;
/* rgb */ color: rgb(185, 109, 233);
/* oklch */ color: oklch(66.9% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#d199f0',
    500: '#b96de9',
    950: '#000000',
  },
}
SCSS
$custom: #b96de9;
$custom-light: #d199f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b96de9",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 233
  },
  "hsl": {
    "h": 276.774,
    "s": 73.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66906,
    "c": 0.18862,
    "h": 310.6
  },
  "luminance": 0.27135
}

Semantic roles & 50–950 ramp

primary
#B96DE9
secondary
#D4EDC5
accent
#D6105C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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