#B996FA#B996FA

#B996FA is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.4% C 0.144 H 299.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B996FA
RGBrgb(185, 150, 250)
HSLhsl(261, 91%, 78%)
HSVhsv(261, 40%, 98%)
CMYKcmyk(26%, 40%, 0%, 2%)
CIE-LABlab(68.77, 33.23, -45.23)
CIE-LCHlch(68.77, 56.13, 306.30°)
OKLaboklab(74.41% 0.0699 -0.1262)
OKLCHoklch(74.41% 0.144 299)
XYZxyz(48.1653, 39.0288, 95.4197)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B996FA #D7FA96
analogous
#96A5FA #B996FA #EB96FA
triadic
#B996FA #FAB996 #96FAB9
tetradic
#B996FA #FA96A5 #D7FA96 #96FAEB
square
#B996FA #FA96A5 #D7FA96 #96FAEB
split-complementary
#B996FA #FAEB96 #A5FA96
monochromatic
#6B21F4 #925CF7 #B996FA #E0D0FD #ECE2FE

Accessibility & contrast

On white

2.38
#B996FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B996FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B996FA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B996FA#FFFFFF#000000##000000
##B996FA1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#ACA7BC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b996fa;
/* rgb */ color: rgb(185, 150, 250);
/* oklch */ color: oklch(74.4% 0.144 299.0);
Tailwind
colors: {
  custom: {
    50: '#d0b5fc',
    500: '#b996fa',
    950: '#000000',
  },
}
SCSS
$custom: #b996fa;
$custom-light: #d0b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b996fa",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 261,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.1443,
    "h": 299
  },
  "luminance": 0.39029
}

Semantic roles & 50–950 ramp

primary
#B996FA
secondary
#EAF6D5
accent
#E60095
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B996FA

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

Preview Lab → · Contrast checker → · Palette generator →

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