#B96DEF#B96DEF

#B96DEF is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.2% C 0.195 H 309.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B96DEF
RGBrgb(185, 109, 239)
HSLhsl(275, 80%, 68%)
HSVhsv(275, 54%, 94%)
CMYKcmyk(22.6%, 54.4%, 0%, 6.3%)
CIE-LABlab(59.42, 52.87, -53.97)
CIE-LCHlch(59.42, 75.55, 314.41°)
OKLaboklab(67.25% 0.1231 -0.1515)
OKLCHoklch(67.25% 0.195 309.1)
XYZxyz(41.0532, 27.4842, 84.7869)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DEF #A3EF6D
analogous
#786DEF #B96DEF #EF6DE4
triadic
#B96DEF #EFB96D #6DEFB9
tetradic
#B96DEF #EF786D #A3EF6D #6DE4EF
square
#B96DEF #EF786D #A3EF6D #6DE4EF
split-complementary
#B96DEF #E4EF6D #6DEF78
monochromatic
#8016CB #9F36E9 #B96DEF #D3A4F5 #EEDBFB

Accessibility & contrast

On white

3.23
#B96DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B96DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DEF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DEF#FFFFFF#000000##000000
##B96DEF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#B284A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96def;
/* rgb */ color: rgb(185, 109, 239);
/* oklch */ color: oklch(67.2% 0.195 309.1);
Tailwind
colors: {
  custom: {
    50: '#d199f5',
    500: '#b96def',
    950: '#000000',
  },
}
SCSS
$custom: #b96def;
$custom-light: #d199f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b96def",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 275.077,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.1952,
    "h": 309.1
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

primary
#B96DEF
secondary
#D9F0C8
accent
#DD0961
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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