#B96FEC#B96FEC

#B96FEC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.4% C 0.189 H 309.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B96FEC
RGBrgb(185, 111, 236)
HSLhsl(276, 77%, 68%)
HSVhsv(276, 53%, 93%)
CMYKcmyk(21.6%, 53%, 0%, 7.5%)
CIE-LABlab(59.65, 51.18, -51.93)
CIE-LCHlch(59.65, 72.91, 314.58°)
OKLaboklab(67.36% 0.1203 -0.1456)
OKLCHoklch(67.36% 0.189 309.6)
XYZxyz(40.8295, 27.7400, 82.5441)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FEC #A2EC6F
analogous
#7A6FEC #B96FEC #EC6FE0
triadic
#B96FEC #ECB96F #6FECB9
tetradic
#B96FEC #EC7A6F #A2EC6F #6FE0EC
square
#B96FEC #EC7A6F #A2EC6F #6FE0EC
split-complementary
#B96FEC #E0EC6F #6FEC7A
monochromatic
#801AC6 #9F39E5 #B96FEC #D3A5F3 #EEDBFA

Accessibility & contrast

On white

3.21
#B96FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B96FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FEC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FEC#FFFFFF#000000##000000
##B96FEC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#B285A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96fec;
/* rgb */ color: rgb(185, 111, 236);
/* oklch */ color: oklch(67.4% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#d19bf3',
    500: '#b96fec',
    950: '#000000',
  },
}
SCSS
$custom: #b96fec;
$custom-light: #d19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fec",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 275.52,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.18886,
    "h": 309.6
  },
  "luminance": 0.27739
}

Semantic roles & 50–950 ramp

primary
#B96FEC
secondary
#D8EFC8
accent
#D90D60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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