#B196EF#B196EF

#B196EF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.129 H 297.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B196EF
RGBrgb(177, 150, 239)
HSLhsl(258, 74%, 76%)
HSVhsv(258, 37%, 94%)
CMYKcmyk(25.9%, 37.2%, 0%, 6.3%)
CIE-LABlab(67.57, 28.37, -41.15)
CIE-LCHlch(67.57, 49.98, 304.58°)
OKLaboklab(73.16% 0.0586 -0.1146)
OKLCHoklch(73.16% 0.129 297.1)
XYZxyz(44.6142, 37.3914, 86.5114)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196EF #D4EF96
analogous
#96A8EF #B196EF #DE96EF
triadic
#B196EF #EFB196 #96EFB1
tetradic
#B196EF #EF96A8 #D4EF96 #96EFDE
square
#B196EF #EF96A8 #D4EF96 #96EFDE
split-complementary
#B196EF #EFDE96 #A8EF96
monochromatic
#622CDF #8A61E7 #B196EF #D8CBF7 #EBE4FB

Accessibility & contrast

On white

2.48
#B196EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B196EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196EF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196EF#FFFFFF#000000##000000
##B196EF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#A5A5B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b196ef;
/* rgb */ color: rgb(177, 150, 239);
/* oklch */ color: oklch(73.2% 0.129 297.1);
Tailwind
colors: {
  custom: {
    50: '#cab5f4',
    500: '#b196ef',
    950: '#000000',
  },
}
SCSS
$custom: #b196ef;
$custom-light: #cab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b196ef",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 258.202,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.12869,
    "h": 297.1
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

primary
#B196EF
secondary
#EBF3D8
accent
#D6109A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B196EF

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

Preview Lab → · Contrast checker → · Palette generator →

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