#B197EA#B197EA

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

Color values

HEX#B197EA
RGBrgb(177, 151, 234)
HSLhsl(259, 66%, 75%)
HSVhsv(259, 35%, 92%)
CMYKcmyk(24.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.59, 26.62, -38.38)
CIE-LCHlch(67.59, 46.70, 304.74°)
OKLaboklab(73.11% 0.0561 -0.1066)
OKLCHoklch(73.11% 0.12 297.8)
XYZxyz(44.0460, 37.4205, 82.7283)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197EA #D0EA97
analogous
#97A6EA #B197EA #DA97EA
triadic
#B197EA #EAB197 #97EAB1
tetradic
#B197EA #EA97A6 #D0EA97 #97EADA
square
#B197EA #EA97A6 #D0EA97 #97EADA
split-complementary
#B197EA #EADA97 #A6EA97
monochromatic
#6531D5 #8B64E0 #B197EA #D7CAF4 #ECE6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B197EA#FFFFFF#000000##000000
##B197EA1.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)
#82A5ED
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#A6A5B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b197ea;
/* rgb */ color: rgb(177, 151, 234);
/* oklch */ color: oklch(73.1% 0.120 297.8);
Tailwind
colors: {
  custom: {
    50: '#cab5f1',
    500: '#b197ea',
    950: '#000000',
  },
}
SCSS
$custom: #b197ea;
$custom-light: #cab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b197ea",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 258.795,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.12044,
    "h": 297.8
  },
  "luminance": 0.37421
}

Semantic roles & 50–950 ramp

primary
#B197EA
secondary
#EAF1DA
accent
#CE1795
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B197EA

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

Preview Lab → · Contrast checker → · Palette generator →

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