#B96EF6#B96EF6

#B96EF6 is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.201 H 307.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B96EF6
RGBrgb(185, 110, 246)
HSLhsl(273, 88%, 70%)
HSVhsv(273, 55%, 96%)
CMYKcmyk(24.8%, 55.3%, 0%, 3.5%)
CIE-LABlab(60.00, 53.91, -56.93)
CIE-LCHlch(60.00, 78.40, 313.44°)
OKLaboklab(67.79% 0.1221 -0.1602)
OKLCHoklch(67.79% 0.201 307.3)
XYZxyz(42.2147, 28.1205, 90.3748)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96EF6 #ABF66E
analogous
#756EF6 #B96EF6 #F66EEF
triadic
#B96EF6 #F6B96E #6EF6B9
tetradic
#B96EF6 #F6756E #ABF66E #6EEFF6
square
#B96EF6 #F6756E #ABF66E #6EEFF6
split-complementary
#B96EF6 #EFF66E #6EF675
monochromatic
#7F0EDC #9D34F2 #B96EF6 #D5A8FA #F1E1FD

Accessibility & contrast

On white

3.17
#B96EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B96EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96EF6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96EF6#FFFFFF#000000##000000
##B96EF61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#B087A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b96ef6;
/* rgb */ color: rgb(185, 110, 246);
/* oklch */ color: oklch(67.8% 0.201 307.3);
Tailwind
colors: {
  custom: {
    50: '#d19afa',
    500: '#b96ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b96ef6;
$custom-light: #d19afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ef6",
  "rgb": {
    "r": 185,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 273.088,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67793,
    "c": 0.20141,
    "h": 307.3
  },
  "luminance": 0.2812
}

Semantic roles & 50–950 ramp

primary
#B96EF6
secondary
#DEF3CD
accent
#E50167
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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