#B96CEB#B96CEB

#B96CEB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.9% C 0.192 H 310.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B96CEB
RGBrgb(185, 108, 235)
HSLhsl(276, 76%, 67%)
HSVhsv(276, 54%, 92%)
CMYKcmyk(21.3%, 54%, 0%, 7.8%)
CIE-LABlab(59.01, 52.51, -52.39)
CIE-LCHlch(59.01, 74.17, 315.06°)
OKLaboklab(66.87% 0.1241 -0.1469)
OKLCHoklch(66.87% 0.192 310.2)
XYZxyz(40.3627, 27.0383, 81.6738)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B96CEB #9EEB6C
analogous
#7A6CEB #B96CEB #EB6CDE
triadic
#B96CEB #EBB96C #6CEBB9
tetradic
#B96CEB #EB7A6C #9EEB6C #6CDEEB
square
#B96CEB #EB7A6C #9EEB6C #6CDEEB
split-complementary
#B96CEB #DEEB6C #6CEB7A
monochromatic
#801AC2 #9F36E4 #B96CEB #D3A2F2 #ECD8FA

Accessibility & contrast

On white

3.28
#B96CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B96CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B96CEB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B96CEB#FFFFFF#000000##000000
##B96CEB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#B382A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b96ceb;
/* rgb */ color: rgb(185, 108, 235);
/* oklch */ color: oklch(66.9% 0.192 310.2);
Tailwind
colors: {
  custom: {
    50: '#d199f2',
    500: '#b96ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b96ceb;
$custom-light: #d199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b96ceb",
  "rgb": {
    "r": 185,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 276.378,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66874,
    "c": 0.19234,
    "h": 310.2
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#B96CEB
secondary
#D5EDC5
accent
#D80D5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B96CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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