#B96FED#B96FED

#B96FED is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.190 H 309.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B96FED
RGBrgb(185, 111, 237)
HSLhsl(275, 78%, 68%)
HSVhsv(275, 53%, 93%)
CMYKcmyk(21.9%, 53.2%, 0%, 7.1%)
CIE-LABlab(59.71, 51.40, -52.40)
CIE-LCHlch(59.71, 73.40, 314.45°)
OKLaboklab(67.42% 0.1204 -0.1469)
OKLCHoklch(67.42% 0.19 309.3)
XYZxyz(40.9751, 27.7983, 83.3114)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96FED #A3ED6F
analogous
#7A6FED #B96FED #ED6FE2
triadic
#B96FED #EDB96F #6FEDB9
tetradic
#B96FED #ED7A6F #A3ED6F #6FE2ED
square
#B96FED #ED7A6F #A3ED6F #6FE2ED
split-complementary
#B96FED #E2ED6F #6FED7A
monochromatic
#8019C9 #9F39E6 #B96FED #D3A5F4 #EEDCFB

Accessibility & contrast

On white

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

On black

6.56
#B96FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96FED
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96FED#FFFFFF#000000##000000
##B96FED1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#B285A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b96fed;
/* rgb */ color: rgb(185, 111, 237);
/* oklch */ color: oklch(67.4% 0.190 309.3);
Tailwind
colors: {
  custom: {
    50: '#d19bf3',
    500: '#b96fed',
    950: '#000000',
  },
}
SCSS
$custom: #b96fed;
$custom-light: #d19bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96fed",
  "rgb": {
    "r": 185,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 275.238,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.18996,
    "h": 309.3
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#B96FED
secondary
#D9EFC9
accent
#DA0B61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96FED

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

Preview Lab → · Contrast checker → · Palette generator →

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