#B196EA#B196EA

#B196EA is a light, vivid violet. Relative luminance 0.371; OKLCH L 72.9% C 0.122 H 298.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B196EA
RGBrgb(177, 150, 234)
HSLhsl(259, 67%, 75%)
HSVhsv(259, 36%, 92%)
CMYKcmyk(24.4%, 35.9%, 0%, 8.2%)
CIE-LABlab(67.35, 27.18, -38.75)
CIE-LCHlch(67.35, 47.33, 305.05°)
OKLaboklab(72.93% 0.0575 -0.1076)
OKLCHoklch(72.93% 0.122 298.1)
XYZxyz(43.8857, 37.1000, 82.6749)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196EA #CFEA96
analogous
#96A5EA #B196EA #DB96EA
triadic
#B196EA #EAB196 #96EAB1
tetradic
#B196EA #EA96A5 #CFEA96 #96EADB
square
#B196EA #EA96A5 #CFEA96 #96EADB
split-complementary
#B196EA #EADB96 #A5EA96
monochromatic
#6530D6 #8B63E0 #B196EA #D7C9F4 #ECE5FA

Accessibility & contrast

On white

2.49
#B196EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B196EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196EA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196EA#FFFFFF#000000##000000
##B196EA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#A6A4B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b196ea;
/* rgb */ color: rgb(177, 150, 234);
/* oklch */ color: oklch(72.9% 0.122 298.1);
Tailwind
colors: {
  custom: {
    50: '#cab5f1',
    500: '#b196ea',
    950: '#000000',
  },
}
SCSS
$custom: #b196ea;
$custom-light: #cab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b196ea",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 259.286,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.12204,
    "h": 298.1
  },
  "luminance": 0.371
}

Semantic roles & 50–950 ramp

primary
#B196EA
secondary
#EAF1DA
accent
#CF1794
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B196EA

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

Preview Lab → · Contrast checker → · Palette generator →

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