#B96EF7#B96EF7

#B96EF7 is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.9% C 0.203 H 307.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B96EF7
RGBrgb(185, 110, 247)
HSLhsl(273, 90%, 70%)
HSVhsv(273, 55%, 97%)
CMYKcmyk(25.1%, 55.5%, 0%, 3.1%)
CIE-LABlab(60.05, 54.13, -57.39)
CIE-LCHlch(60.05, 78.89, 313.33°)
OKLaboklab(67.85% 0.1221 -0.1615)
OKLCHoklch(67.85% 0.203 307.1)
XYZxyz(42.3686, 28.1820, 91.1853)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EF7 #ACF76E
analogous
#756EF7 #B96EF7 #F76EF0
triadic
#B96EF7 #F7B96E #6EF7B9
tetradic
#B96EF7 #F7756E #ACF76E #6EF0F7
square
#B96EF7 #F7756E #ACF76E #6EF0F7
split-complementary
#B96EF7 #F0F76E #6EF775
monochromatic
#7F0CDE #9D34F4 #B96EF7 #D5A8FA #F1E2FD

Accessibility & contrast

On white

3.16
#B96EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B96EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EF7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EF7#FFFFFF#000000##000000
##B96EF71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFC
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#AF88A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ef7;
/* rgb */ color: rgb(185, 110, 247);
/* oklch */ color: oklch(67.9% 0.203 307.1);
Tailwind
colors: {
  custom: {
    50: '#d19afa',
    500: '#b96ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b96ef7;
$custom-light: #d19afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ef7",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 272.847,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.20252,
    "h": 307.1
  },
  "luminance": 0.28182
}

Semantic roles & 50–950 ramp

primary
#B96EF7
secondary
#DFF4CD
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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