#B96FEF#B96FEF

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

Color values

HEX#B96FEF
RGBrgb(185, 111, 239)
HSLhsl(275, 80%, 69%)
HSVhsv(275, 54%, 94%)
CMYKcmyk(22.6%, 53.6%, 0%, 6.3%)
CIE-LABlab(59.81, 51.84, -53.34)
CIE-LCHlch(59.81, 74.38, 314.18°)
OKLaboklab(67.53% 0.1205 -0.1497)
OKLCHoklch(67.53% 0.192 308.8)
XYZxyz(41.2690, 27.9158, 84.8589)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FEF #A5EF6F
analogous
#796FEF #B96FEF #EF6FE5
triadic
#B96FEF #EFB96F #6FEFB9
tetradic
#B96FEF #EF796F #A5EF6F #6FE5EF
square
#B96FEF #EF796F #A5EF6F #6FE5EF
split-complementary
#B96FEF #E5EF6F #6FEF79
monochromatic
#8017CD #9E38E9 #B96FEF #D4A6F5 #EFDDFB

Accessibility & contrast

On white

3.19
#B96FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B96FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FEF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FEF#FFFFFF#000000##000000
##B96FEF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#B286A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96fef;
/* rgb */ color: rgb(185, 111, 239);
/* oklch */ color: oklch(67.5% 0.192 308.8);
Tailwind
colors: {
  custom: {
    50: '#d19bf5',
    500: '#b96fef',
    950: '#000000',
  },
}
SCSS
$custom: #b96fef;
$custom-light: #d19bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fef",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 274.688,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67534,
    "c": 0.19218,
    "h": 308.8
  },
  "luminance": 0.27915
}

Semantic roles & 50–950 ramp

primary
#B96FEF
secondary
#DAF0CA
accent
#DC0962
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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