#B96BF5#B96BF5

#B96BF5 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.205 H 307.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B96BF5
RGBrgb(185, 107, 245)
HSLhsl(274, 87%, 69%)
HSVhsv(274, 56%, 96%)
CMYKcmyk(24.5%, 56.3%, 0%, 3.9%)
CIE-LABlab(59.36, 55.22, -57.39)
CIE-LCHlch(59.36, 79.64, 313.90°)
OKLaboklab(67.31% 0.1258 -0.1615)
OKLCHoklch(67.31% 0.205 307.9)
XYZxyz(41.7434, 27.4228, 89.4626)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BF5 #A7F56B
analogous
#746BF5 #B96BF5 #F56BEC
triadic
#B96BF5 #F5B96B #6BF5B9
tetradic
#B96BF5 #F5746B #A7F56B #6BECF5
square
#B96BF5 #F5746B #A7F56B #6BECF5
split-complementary
#B96BF5 #ECF56B #6BF574
monochromatic
#800FD7 #9E32F1 #B96BF5 #D4A4F9 #EFDEFD

Accessibility & contrast

On white

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

On black

6.48
#B96BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BF5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BF5#FFFFFF#000000##000000
##B96BF51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#B085A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96bf5;
/* rgb */ color: rgb(185, 107, 245);
/* oklch */ color: oklch(67.3% 0.205 307.9);
Tailwind
colors: {
  custom: {
    50: '#d198f9',
    500: '#b96bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b96bf5;
$custom-light: #d198f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bf5",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 273.913,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.20472,
    "h": 307.9
  },
  "luminance": 0.27422
}

Semantic roles & 50–950 ramp

primary
#B96BF5
secondary
#DBF2CA
accent
#E40264
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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