#B96BF7#B96BF7

#B96BF7 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.4% C 0.207 H 307.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B96BF7
RGBrgb(185, 107, 247)
HSLhsl(273, 90%, 69%)
HSVhsv(273, 57%, 97%)
CMYKcmyk(25.1%, 56.7%, 0%, 3.1%)
CIE-LABlab(59.48, 55.66, -58.31)
CIE-LCHlch(59.48, 80.62, 313.67°)
OKLaboklab(67.43% 0.1259 -0.1642)
OKLCHoklch(67.43% 0.207 307.5)
XYZxyz(42.0504, 27.5456, 91.0792)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF7 #A9F76B
analogous
#736BF7 #B96BF7 #F76BEF
triadic
#B96BF7 #F7B96B #6BF7B9
tetradic
#B96BF7 #F7736B #A9F76B #6BEFF7
square
#B96BF7 #F7736B #A9F76B #6BEFF7
split-complementary
#B96BF7 #EFF76B #6BF773
monochromatic
#800CDC #9E31F4 #B96BF7 #D4A5FA #F0DFFD

Accessibility & contrast

On white

3.23
#B96BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B96BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF7#FFFFFF#000000##000000
##B96BF71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#B085A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf7;
/* rgb */ color: rgb(185, 107, 247);
/* oklch */ color: oklch(67.4% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#d198fa',
    500: '#b96bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf7;
$custom-light: #d198fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf7",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 273.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67429,
    "c": 0.20691,
    "h": 307.5
  },
  "luminance": 0.27545
}

Semantic roles & 50–950 ramp

primary
#B96BF7
secondary
#DDF3CB
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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