#B96BEB#B96BEB

#B96BEB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.7% C 0.194 H 310.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B96BEB
RGBrgb(185, 107, 235)
HSLhsl(277, 76%, 67%)
HSVhsv(277, 54%, 92%)
CMYKcmyk(21.3%, 54.5%, 0%, 7.8%)
CIE-LABlab(58.82, 53.02, -52.70)
CIE-LCHlch(58.82, 74.76, 315.17°)
OKLaboklab(66.73% 0.1254 -0.1478)
OKLCHoklch(66.73% 0.194 310.3)
XYZxyz(40.2579, 26.8286, 81.6388)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BEB #9DEB6B
analogous
#796BEB #B96BEB #EB6BDD
triadic
#B96BEB #EBB96B #6BEBB9
tetradic
#B96BEB #EB796B #9DEB6B #6BDDEB
square
#B96BEB #EB796B #9DEB6B #6BDDEB
split-complementary
#B96BEB #DDEB6B #6BEB79
monochromatic
#801AC1 #A035E4 #B96BEB #D3A1F2 #ECD7FA

Accessibility & contrast

On white

3.30
#B96BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B96BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BEB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BEB#FFFFFF#000000##000000
##B96BEB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#B382A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96beb;
/* rgb */ color: rgb(185, 107, 235);
/* oklch */ color: oklch(66.7% 0.194 310.3);
Tailwind
colors: {
  custom: {
    50: '#d198f2',
    500: '#b96beb',
    950: '#000000',
  },
}
SCSS
$custom: #b96beb;
$custom-light: #d198f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b96beb",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 276.563,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.19385,
    "h": 310.3
  },
  "luminance": 0.26828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B96BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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