#B197EE#B197EE

#B197EE is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.3% C 0.126 H 296.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B197EE
RGBrgb(177, 151, 238)
HSLhsl(258, 72%, 76%)
HSVhsv(258, 37%, 93%)
CMYKcmyk(25.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(67.76, 27.57, -40.30)
CIE-LCHlch(67.76, 48.83, 304.37°)
OKLaboklab(73.3% 0.057 -0.1121)
OKLCHoklch(73.3% 0.126 296.9)
XYZxyz(44.6271, 37.6530, 85.7889)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197EE #D4EE97
analogous
#97A9EE #B197EE #DD97EE
triadic
#B197EE #EEB197 #97EEB1
tetradic
#B197EE #EE97A9 #D4EE97 #97EEDD
square
#B197EE #EE97A9 #D4EE97 #97EEDD
split-complementary
#B197EE #EEDD97 #A9EE97
monochromatic
#622EDD #8A62E5 #B197EE #D8CCF7 #EBE5FB

Accessibility & contrast

On white

2.46
#B197EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B197EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197EE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197EE#FFFFFF#000000##000000
##B197EE1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#A5A6B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b197ee;
/* rgb */ color: rgb(177, 151, 238);
/* oklch */ color: oklch(73.3% 0.126 296.9);
Tailwind
colors: {
  custom: {
    50: '#cab5f4',
    500: '#b197ee',
    950: '#000000',
  },
}
SCSS
$custom: #b197ee;
$custom-light: #cab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b197ee",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 257.931,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73298,
    "c": 0.12578,
    "h": 296.9
  },
  "luminance": 0.37653
}

Semantic roles & 50–950 ramp

primary
#B197EE
secondary
#EBF2D9
accent
#D4129A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B197EE

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

Preview Lab → · Contrast checker → · Palette generator →

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