#B96DE3#B96DE3

#B96DE3 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.182 H 312.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B96DE3
RGBrgb(185, 109, 227)
HSLhsl(279, 68%, 66%)
HSVhsv(279, 52%, 89%)
CMYKcmyk(18.5%, 52%, 0%, 11%)
CIE-LABlab(58.79, 50.26, -48.28)
CIE-LCHlch(58.79, 69.69, 316.15°)
OKLaboklab(66.57% 0.1223 -0.1349)
OKLCHoklch(66.57% 0.182 312.2)
XYZxyz(39.3389, 26.7985, 75.7585)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96DE3 #97E36D
analogous
#7E6DE3 #B96DE3 #E36DD2
triadic
#B96DE3 #E3B96D #6DE3B9
tetradic
#B96DE3 #E37E6D #97E36D #6DD2E3
square
#B96DE3 #E37E6D #97E36D #6DD2E3
split-complementary
#B96DE3 #D2E36D #6DE37E
monochromatic
#8022B3 #A03AD9 #B96DE3 #D2A0ED #EAD4F7

Accessibility & contrast

On white

3.30
#B96DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B96DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96DE3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96DE3#FFFFFF#000000##000000
##B96DE31.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E7
Deuteranopia (green-blind)
#678FE0
Tritanopia (blue-blind)
#B5809E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b96de3;
/* rgb */ color: rgb(185, 109, 227);
/* oklch */ color: oklch(66.6% 0.182 312.2);
Tailwind
colors: {
  custom: {
    50: '#d099ec',
    500: '#b96de3',
    950: '#000000',
  },
}
SCSS
$custom: #b96de3;
$custom-light: #d099ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b96de3",
  "rgb": {
    "r": 185,
    "g": 109,
    "b": 227
  },
  "hsl": {
    "h": 278.644,
    "s": 67.816,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66574,
    "c": 0.18207,
    "h": 312.2
  },
  "luminance": 0.26798
}

Semantic roles & 50–950 ramp

primary
#B96DE3
secondary
#D0E9C2
accent
#D01658
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B96DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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