#B96FEE#B96FEE

#B96FEE is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.191 H 309.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B96FEE
RGBrgb(185, 111, 238)
HSLhsl(275, 79%, 68%)
HSVhsv(275, 53%, 93%)
CMYKcmyk(22.3%, 53.4%, 0%, 6.7%)
CIE-LABlab(59.76, 51.62, -52.87)
CIE-LCHlch(59.76, 73.89, 314.31°)
OKLaboklab(67.48% 0.1205 -0.1483)
OKLCHoklch(67.48% 0.191 309.1)
XYZxyz(41.1217, 27.8569, 84.0830)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FEE #A4EE6F
analogous
#796FEE #B96FEE #EE6FE3
triadic
#B96FEE #EEB96F #6FEEB9
tetradic
#B96FEE #EE796F #A4EE6F #6FE3EE
square
#B96FEE #EE796F #A4EE6F #6FE3EE
split-complementary
#B96FEE #E3EE6F #6FEE79
monochromatic
#8018CB #9E38E8 #B96FEE #D4A6F4 #EEDCFB

Accessibility & contrast

On white

3.20
#B96FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B96FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FEE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FEE#FFFFFF#000000##000000
##B96FEE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#B285A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96fee;
/* rgb */ color: rgb(185, 111, 238);
/* oklch */ color: oklch(67.5% 0.191 309.1);
Tailwind
colors: {
  custom: {
    50: '#d19bf4',
    500: '#b96fee',
    950: '#000000',
  },
}
SCSS
$custom: #b96fee;
$custom-light: #d19bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fee",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 274.961,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67478,
    "c": 0.19107,
    "h": 309.1
  },
  "luminance": 0.27856
}

Semantic roles & 50–950 ramp

primary
#B96FEE
secondary
#D9F0C9
accent
#DB0A61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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