#B197EB#B197EB

#B197EB is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.2% C 0.122 H 297.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B197EB
RGBrgb(177, 151, 235)
HSLhsl(259, 68%, 76%)
HSVhsv(259, 36%, 92%)
CMYKcmyk(24.7%, 35.7%, 0%, 7.8%)
CIE-LABlab(67.63, 26.85, -38.86)
CIE-LCHlch(67.63, 47.23, 304.65°)
OKLaboklab(73.16% 0.0563 -0.108)
OKLCHoklch(73.16% 0.122 297.6)
XYZxyz(44.1900, 37.4781, 83.4871)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197EB #D1EB97
analogous
#97A7EB #B197EB #DB97EB
triadic
#B197EB #EBB197 #97EBB1
tetradic
#B197EB #EB97A7 #D1EB97 #97EBDB
square
#B197EB #EB97A7 #D1EB97 #97EBDB
split-complementary
#B197EB #EBDB97 #A7EB97
monochromatic
#6430D7 #8B64E1 #B197EB #D7CAF5 #ECE5FA

Accessibility & contrast

On white

2.47
#B197EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B197EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197EB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197EB#FFFFFF#000000##000000
##B197EB1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#A6A5B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b197eb;
/* rgb */ color: rgb(177, 151, 235);
/* oklch */ color: oklch(73.2% 0.122 297.6);
Tailwind
colors: {
  custom: {
    50: '#cab5f1',
    500: '#b197eb',
    950: '#000000',
  },
}
SCSS
$custom: #b197eb;
$custom-light: #cab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b197eb",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 258.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.12178,
    "h": 297.6
  },
  "luminance": 0.37478
}

Semantic roles & 50–950 ramp

primary
#B197EB
secondary
#EAF2D9
accent
#D01696
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B197EB

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

Preview Lab → · Contrast checker → · Palette generator →

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