#B196FB#B196FB

#B196FB is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.145 H 294.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B196FB
RGBrgb(177, 150, 251)
HSLhsl(256, 93%, 79%)
HSVhsv(256, 40%, 98%)
CMYKcmyk(29.5%, 40.2%, 0%, 1.6%)
CIE-LABlab(68.11, 31.28, -46.86)
CIE-LCHlch(68.11, 56.34, 303.72°)
OKLaboklab(73.75% 0.0609 -0.1311)
OKLCHoklch(73.75% 0.145 294.9)
XYZxyz(46.4461, 38.1242, 96.1598)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196FB #E0FB96
analogous
#96ADFB #B196FB #E496FB
triadic
#B196FB #FBB196 #96FBB1
tetradic
#B196FB #FB96AD #E0FB96 #96FBE4
square
#B196FB #FB96AD #E0FB96 #96FBE4
split-complementary
#B196FB #FBE496 #ADFB96
monochromatic
#5920F7 #855BF9 #B196FB #DDD1FD #E9E2FE

Accessibility & contrast

On white

2.43
#B196FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B196FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196FB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196FB#FFFFFF#000000##000000
##B196FB1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b196fb;
/* rgb */ color: rgb(177, 150, 251);
/* oklch */ color: oklch(73.8% 0.145 294.9);
Tailwind
colors: {
  custom: {
    50: '#cab5fd',
    500: '#b196fb',
    950: '#000000',
  },
}
SCSS
$custom: #b196fb;
$custom-light: #cab5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b196fb",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 256.04,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73754,
    "c": 0.14457,
    "h": 294.9
  },
  "luminance": 0.38125
}

Semantic roles & 50–950 ramp

primary
#B196FB
secondary
#EDF6D5
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B196FB

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

Preview Lab → · Contrast checker → · Palette generator →

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