#B96DE5#B96DE5

#B96DE5 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.184 H 311.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B96DE5
RGBrgb(185, 109, 229)
HSLhsl(278, 70%, 66%)
HSVhsv(278, 52%, 90%)
CMYKcmyk(19.2%, 52.4%, 0%, 10.2%)
CIE-LABlab(58.89, 50.69, -49.23)
CIE-LCHlch(58.89, 70.66, 315.83°)
OKLaboklab(66.68% 0.1224 -0.1377)
OKLCHoklch(66.68% 0.184 311.6)
XYZxyz(39.6166, 26.9096, 77.2207)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DE5 #99E56D
analogous
#7D6DE5 #B96DE5 #E56DD5
triadic
#B96DE5 #E5B96D #6DE5B9
tetradic
#B96DE5 #E57D6D #99E56D #6DD5E5
square
#B96DE5 #E57D6D #99E56D #6DD5E5
split-complementary
#B96DE5 #D5E56D #6DE57D
monochromatic
#8021B7 #A039DC #B96DE5 #D2A1EE #EBD5F8

Accessibility & contrast

On white

3.29
#B96DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B96DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DE5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DE5#FFFFFF#000000##000000
##B96DE51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#658FE2
Tritanopia (blue-blind)
#B4819F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96de5;
/* rgb */ color: rgb(185, 109, 229);
/* oklch */ color: oklch(66.7% 0.184 311.6);
Tailwind
colors: {
  custom: {
    50: '#d099ee',
    500: '#b96de5',
    950: '#000000',
  },
}
SCSS
$custom: #b96de5;
$custom-light: #d099ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b96de5",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 278,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.18425,
    "h": 311.6
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#B96DE5
secondary
#D2EAC3
accent
#D21459
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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