#B96BED#B96BED

#B96BED is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.8% C 0.196 H 309.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B96BED
RGBrgb(185, 107, 237)
HSLhsl(276, 78%, 67%)
HSVhsv(276, 55%, 93%)
CMYKcmyk(21.9%, 54.9%, 0%, 7.1%)
CIE-LABlab(58.92, 53.45, -53.65)
CIE-LCHlch(58.92, 75.73, 314.90°)
OKLaboklab(66.85% 0.1255 -0.1506)
OKLCHoklch(66.85% 0.196 309.8)
XYZxyz(40.5484, 26.9448, 83.1691)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96BED #9FED6B
analogous
#786BED #B96BED #ED6BE0
triadic
#B96BED #EDB96B #6BEDB9
tetradic
#B96BED #ED786B #9FED6B #6BE0ED
square
#B96BED #ED786B #9FED6B #6BE0ED
split-complementary
#B96BED #E0ED6B #6BED78
monochromatic
#8018C6 #9F34E6 #B96BED #D3A2F4 #EDD8FA

Accessibility & contrast

On white

3.29
#B96BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B96BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96BED
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96BED#FFFFFF#000000##000000
##B96BED1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF1
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#B282A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96bed;
/* rgb */ color: rgb(185, 107, 237);
/* oklch */ color: oklch(66.8% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#d198f3',
    500: '#b96bed',
    950: '#000000',
  },
}
SCSS
$custom: #b96bed;
$custom-light: #d198f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96bed",
  "rgb": {
    "r": 185,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 276,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.19602,
    "h": 309.8
  },
  "luminance": 0.26944
}

Semantic roles & 50–950 ramp

primary
#B96BED
secondary
#D6EEC6
accent
#DB0B5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96BED

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

Preview Lab → · Contrast checker → · Palette generator →

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