#B96DF7#B96DF7

#B96DF7 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.7% C 0.204 H 307.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B96DF7
RGBrgb(185, 109, 247)
HSLhsl(273, 90%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25.1%, 55.9%, 0%, 3.1%)
CIE-LABlab(59.86, 54.65, -57.70)
CIE-LCHlch(59.86, 79.47, 313.44°)
OKLaboklab(67.71% 0.1234 -0.1624)
OKLCHoklch(67.71% 0.204 307.2)
XYZxyz(42.2613, 27.9674, 91.1496)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DF7 #ABF76D
analogous
#746DF7 #B96DF7 #F76DF0
triadic
#B96DF7 #F7B96D #6DF7B9
tetradic
#B96DF7 #F7746D #ABF76D #6DF0F7
square
#B96DF7 #F7746D #ABF76D #6DF0F7
split-complementary
#B96DF7 #F0F76D #6DF774
monochromatic
#7F0CDD #9D33F4 #B96DF7 #D5A7FA #F1E1FD

Accessibility & contrast

On white

3.19
#B96DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B96DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DF7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DF7#FFFFFF#000000##000000
##B96DF71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFC
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#AF87A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96df7;
/* rgb */ color: rgb(185, 109, 247);
/* oklch */ color: oklch(67.7% 0.204 307.2);
Tailwind
colors: {
  custom: {
    50: '#d19afa',
    500: '#b96df7',
    950: '#000000',
  },
}
SCSS
$custom: #b96df7;
$custom-light: #d19afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96df7",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 273.043,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.20398,
    "h": 307.2
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#B96DF7
secondary
#DEF3CC
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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