#B96DEC#B96DEC

#B96DEC is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.192 H 309.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B96DEC
RGBrgb(185, 109, 236)
HSLhsl(276, 77%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.6%, 53.8%, 0%, 7.5%)
CIE-LABlab(59.26, 52.21, -52.55)
CIE-LCHlch(59.26, 74.08, 314.81°)
OKLaboklab(67.07% 0.1229 -0.1474)
OKLCHoklch(67.07% 0.192 309.8)
XYZxyz(40.6137, 27.3084, 82.4722)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DEC #A0EC6D
analogous
#7A6DEC #B96DEC #EC6DDF
triadic
#B96DEC #ECB96D #6DECB9
tetradic
#B96DEC #EC7A6D #A0EC6D #6DDFEC
square
#B96DEC #EC7A6D #A0EC6D #6DDFEC
split-complementary
#B96DEC #DFEC6D #6DEC7A
monochromatic
#801AC5 #9F37E5 #B96DEC #D3A3F3 #EDD9FA

Accessibility & contrast

On white

3.25
#B96DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B96DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DEC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DEC#FFFFFF#000000##000000
##B96DEC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#B283A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b96dec;
/* rgb */ color: rgb(185, 109, 236);
/* oklch */ color: oklch(67.1% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#d199f3',
    500: '#b96dec',
    950: '#000000',
  },
}
SCSS
$custom: #b96dec;
$custom-light: #d199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b96dec",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 275.906,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.19191,
    "h": 309.8
  },
  "luminance": 0.27308
}

Semantic roles & 50–950 ramp

primary
#B96DEC
secondary
#D7EEC7
accent
#D90C5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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