#B96FE7#B96FE7

#B96FE7 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.183 H 310.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B96FE7
RGBrgb(185, 111, 231)
HSLhsl(277, 71%, 67%)
HSVhsv(277, 52%, 91%)
CMYKcmyk(19.9%, 51.9%, 0%, 9.4%)
CIE-LABlab(59.39, 50.08, -49.56)
CIE-LCHlch(59.39, 70.46, 315.30°)
OKLaboklab(67.09% 0.1199 -0.1387)
OKLCHoklch(67.09% 0.183 310.9)
XYZxyz(40.1132, 27.4535, 78.7717)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FE7 #9DE76F
analogous
#7D6FE7 #B96FE7 #E76FD9
triadic
#B96FE7 #E7B96F #6FE7B9
tetradic
#B96FE7 #E77D6F #9DE76F #6FD9E7
square
#B96FE7 #E77D6F #9DE76F #6FD9E7
split-complementary
#B96FE7 #D9E76F #6FE77D
monochromatic
#801FBC #A03BDE #B96FE7 #D3A3F0 #ECD8F8

Accessibility & contrast

On white

3.24
#B96FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B96FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FE7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FE7#FFFFFF#000000##000000
##B96FE71.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BEB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#B483A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96fe7;
/* rgb */ color: rgb(185, 111, 231);
/* oklch */ color: oklch(67.1% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#d09bef',
    500: '#b96fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b96fe7;
$custom-light: #d09bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fe7",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 277,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67087,
    "c": 0.18334,
    "h": 310.9
  },
  "luminance": 0.27453
}

Semantic roles & 50–950 ramp

primary
#B96FE7
secondary
#D4ECC6
accent
#D3125C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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