#B196FA#B196FA

#B196FA is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.7% C 0.143 H 295.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B196FA
RGBrgb(177, 150, 250)
HSLhsl(256, 91%, 78%)
HSVhsv(256, 40%, 98%)
CMYKcmyk(29.2%, 40%, 0%, 2%)
CIE-LABlab(68.07, 31.03, -46.39)
CIE-LCHlch(68.07, 55.81, 303.78°)
OKLaboklab(73.7% 0.0607 -0.1297)
OKLCHoklch(73.7% 0.143 295.1)
XYZxyz(46.2889, 38.0613, 95.3318)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196FA #DFFA96
analogous
#96ADFA #B196FA #E396FA
triadic
#B196FA #FAB196 #96FAB1
tetradic
#B196FA #FA96AD #DFFA96 #96FAE3
square
#B196FA #FA96AD #DFFA96 #96FAE3
split-complementary
#B196FA #FAE396 #ADFA96
monochromatic
#5A21F4 #865CF7 #B196FA #DCD0FD #E9E2FE

Accessibility & contrast

On white

2.44
#B196FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B196FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196FA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196FA#FFFFFF#000000##000000
##B196FA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#A1A8BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b196fa;
/* rgb */ color: rgb(177, 150, 250);
/* oklch */ color: oklch(73.7% 0.143 295.1);
Tailwind
colors: {
  custom: {
    50: '#cab5fc',
    500: '#b196fa',
    950: '#000000',
  },
}
SCSS
$custom: #b196fa;
$custom-light: #cab5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b196fa",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 256.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73704,
    "c": 0.14325,
    "h": 295.1
  },
  "luminance": 0.38062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B196FA

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

Preview Lab → · Contrast checker → · Palette generator →

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