#B96FE5#B96FE5

#B96FE5 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.181 H 311.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B96FE5
RGBrgb(185, 111, 229)
HSLhsl(278, 69%, 67%)
HSVhsv(278, 52%, 90%)
CMYKcmyk(19.2%, 51.5%, 0%, 10.2%)
CIE-LABlab(59.29, 49.65, -48.60)
CIE-LCHlch(59.29, 69.48, 315.61°)
OKLaboklab(66.98% 0.1198 -0.1359)
OKLCHoklch(66.98% 0.181 311.4)
XYZxyz(39.8323, 27.3411, 77.2926)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FE5 #9BE56F
analogous
#7E6FE5 #B96FE5 #E56FD6
triadic
#B96FE5 #E5B96F #6FE5B9
tetradic
#B96FE5 #E57E6F #9BE56F #6FD6E5
square
#B96FE5 #E57E6F #9BE56F #6FD6E5
split-complementary
#B96FE5 #D6E56F #6FE57E
monochromatic
#8021B8 #A03BDC #B96FE5 #D2A3EE #EBD7F8

Accessibility & contrast

On white

3.25
#B96FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B96FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FE5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FE5#FFFFFF#000000##000000
##B96FE51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#B483A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96fe5;
/* rgb */ color: rgb(185, 111, 229);
/* oklch */ color: oklch(67.0% 0.181 311.4);
Tailwind
colors: {
  custom: {
    50: '#d09bee',
    500: '#b96fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b96fe5;
$custom-light: #d09bee;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fe5",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 277.627,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.18113,
    "h": 311.4
  },
  "luminance": 0.2734
}

Semantic roles & 50–950 ramp

primary
#B96FE5
secondary
#D3EBC5
accent
#D1145B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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