#B196FC#B196FC

#B196FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.146 H 294.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B196FC
RGBrgb(177, 150, 252)
HSLhsl(256, 94%, 79%)
HSVhsv(256, 40%, 99%)
CMYKcmyk(29.8%, 40.5%, 0%, 1.2%)
CIE-LABlab(68.16, 31.52, -47.34)
CIE-LCHlch(68.16, 56.87, 303.66°)
OKLaboklab(73.8% 0.0611 -0.1325)
OKLCHoklch(73.8% 0.146 294.7)
XYZxyz(46.6042, 38.1874, 96.9921)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B196FC #E1FC96
analogous
#96AEFC #B196FC #E496FC
triadic
#B196FC #FCB196 #96FCB1
tetradic
#B196FC #FC96AE #E1FC96 #96FCE4
square
#B196FC #FC96AE #E1FC96 #96FCE4
split-complementary
#B196FC #FCE496 #AEFC96
monochromatic
#591FF9 #855BFA #B196FC #DDD2FE #E9E1FE

Accessibility & contrast

On white

2.43
#B196FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B196FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B196FC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B196FC#FFFFFF#000000##000000
##B196FC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#7CA5F9
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b196fc;
/* rgb */ color: rgb(177, 150, 252);
/* oklch */ color: oklch(73.8% 0.146 294.7);
Tailwind
colors: {
  custom: {
    50: '#cab5fe',
    500: '#b196fc',
    950: '#000000',
  },
}
SCSS
$custom: #b196fc;
$custom-light: #cab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b196fc",
  "rgb": {
    "r": 177,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 255.882,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.14589,
    "h": 294.7
  },
  "luminance": 0.38188
}

Semantic roles & 50–950 ramp

primary
#B196FC
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B196FC

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

Preview Lab → · Contrast checker → · Palette generator →

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