#B196FE#B196FE

#B196FE is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.9% C 0.149 H 294.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B196FE
RGBrgb(177, 150, 254)
HSLhsl(256, 98%, 79%)
HSVhsv(256, 41%, 100%)
CMYKcmyk(30.3%, 40.9%, 0%, 0.4%)
CIE-LABlab(68.25, 32.02, -48.28)
CIE-LCHlch(68.25, 57.93, 303.55°)
OKLaboklab(73.91% 0.0614 -0.1352)
OKLCHoklch(73.91% 0.149 294.4)
XYZxyz(46.9228, 38.3148, 98.6701)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196FE #E3FE96
analogous
#96AFFE #B196FE #E596FE
triadic
#B196FE #FEB196 #96FEB1
tetradic
#B196FE #FE96AF #E3FE96 #96FEE5
square
#B196FE #FE96AF #E3FE96 #96FEE5
split-complementary
#B196FE #FEE596 #AFFE96
monochromatic
#571DFD #8459FD #B196FE #DED3FF #E8E1FF

Accessibility & contrast

On white

2.42
#B196FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B196FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196FE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196FE#FFFFFF#000000##000000
##B196FE1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#A0A9BE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b196fe;
/* rgb */ color: rgb(177, 150, 254);
/* oklch */ color: oklch(73.9% 0.149 294.4);
Tailwind
colors: {
  custom: {
    50: '#cbb5ff',
    500: '#b196fe',
    950: '#000000',
  },
}
SCSS
$custom: #b196fe;
$custom-light: #cbb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b196fe",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 255.577,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73906,
    "c": 0.14852,
    "h": 294.4
  },
  "luminance": 0.38316
}

Semantic roles & 50–950 ramp

primary
#B196FE
secondary
#EEF7D4
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B196FE

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

Preview Lab → · Contrast checker → · Palette generator →

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