#B196EE#B196EE

#B196EE is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.127 H 297.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B196EE
RGBrgb(177, 150, 238)
HSLhsl(258, 72%, 76%)
HSVhsv(258, 37%, 93%)
CMYKcmyk(25.6%, 37%, 0%, 6.7%)
CIE-LABlab(67.53, 28.13, -40.67)
CIE-LCHlch(67.53, 49.45, 304.67°)
OKLaboklab(73.12% 0.0584 -0.1132)
OKLCHoklch(73.12% 0.127 297.3)
XYZxyz(44.4668, 37.3325, 85.7355)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196EE #D3EE96
analogous
#96A7EE #B196EE #DD96EE
triadic
#B196EE #EEB196 #96EEB1
tetradic
#B196EE #EE96A7 #D3EE96 #96EEDD
square
#B196EE #EE96A7 #D3EE96 #96EEDD
split-complementary
#B196EE #EEDD96 #A7EE96
monochromatic
#632DDD #8A61E5 #B196EE #D8CBF7 #EBE5FB

Accessibility & contrast

On white

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

On black

8.47
#B196EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196EE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196EE#FFFFFF#000000##000000
##B196EE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#A5A5B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b196ee;
/* rgb */ color: rgb(177, 150, 238);
/* oklch */ color: oklch(73.1% 0.127 297.3);
Tailwind
colors: {
  custom: {
    50: '#cab5f4',
    500: '#b196ee',
    950: '#000000',
  },
}
SCSS
$custom: #b196ee;
$custom-light: #cab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b196ee",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 258.409,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73116,
    "c": 0.12736,
    "h": 297.3
  },
  "luminance": 0.37333
}

Semantic roles & 50–950 ramp

primary
#B196EE
secondary
#EAF2D9
accent
#D41198
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B196EE

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

Preview Lab → · Contrast checker → · Palette generator →

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