#B96FEA#B96FEA

#B96FEA is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.187 H 310.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B96FEA
RGBrgb(185, 111, 234)
HSLhsl(276, 75%, 68%)
HSVhsv(276, 53%, 92%)
CMYKcmyk(20.9%, 52.6%, 0%, 8.2%)
CIE-LABlab(59.55, 50.74, -50.98)
CIE-LCHlch(59.55, 71.93, 314.86°)
OKLaboklab(67.25% 0.1202 -0.1428)
OKLCHoklch(67.25% 0.187 310.1)
XYZxyz(40.5405, 27.6244, 81.0223)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FEA #A0EA6F
analogous
#7C6FEA #B96FEA #EA6FDD
triadic
#B96FEA #EAB96F #6FEAB9
tetradic
#B96FEA #EA7C6F #A0EA6F #6FDDEA
square
#B96FEA #EA7C6F #A0EA6F #6FDDEA
split-complementary
#B96FEA #DDEA6F #6FEA7C
monochromatic
#801CC2 #9F3AE2 #B96FEA #D3A4F2 #EDDAFA

Accessibility & contrast

On white

3.22
#B96FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B96FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FEA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FEA#FFFFFF#000000##000000
##B96FEA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#B384A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96fea;
/* rgb */ color: rgb(185, 111, 234);
/* oklch */ color: oklch(67.3% 0.187 310.1);
Tailwind
colors: {
  custom: {
    50: '#d19bf1',
    500: '#b96fea',
    950: '#000000',
  },
}
SCSS
$custom: #b96fea;
$custom-light: #d19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fea",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 276.098,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67253,
    "c": 0.18664,
    "h": 310.1
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#B96FEA
secondary
#D7EDC7
accent
#D70F5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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