#B197FA#B197FA

#B197FA is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.142 H 294.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B197FA
RGBrgb(177, 151, 250)
HSLhsl(256, 91%, 79%)
HSVhsv(256, 40%, 98%)
CMYKcmyk(29.2%, 39.6%, 0%, 2%)
CIE-LABlab(68.30, 30.47, -46.02)
CIE-LCHlch(68.30, 55.19, 303.51°)
OKLaboklab(73.88% 0.0594 -0.1287)
OKLCHoklch(73.88% 0.142 294.8)
XYZxyz(46.4492, 38.3818, 95.3852)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197FA #E0FA97
analogous
#97AEFA #B197FA #E397FA
triadic
#B197FA #FAB197 #97FAB1
tetradic
#B197FA #FA97AE #E0FA97 #97FAE3
square
#B197FA #FA97AE #E0FA97 #97FAE3
split-complementary
#B197FA #FAE397 #AEFA97
monochromatic
#5922F4 #855DF7 #B197FA #DDD1FD #E9E2FE

Accessibility & contrast

On white

2.42
#B197FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B197FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197FA
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197FA#FFFFFF#000000##000000
##B197FA1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#A1A9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b197fa;
/* rgb */ color: rgb(177, 151, 250);
/* oklch */ color: oklch(73.9% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#cab6fc',
    500: '#b197fa',
    950: '#000000',
  },
}
SCSS
$custom: #b197fa;
$custom-light: #cab6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b197fa",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 255.758,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73882,
    "c": 0.14172,
    "h": 294.8
  },
  "luminance": 0.38382
}

Semantic roles & 50–950 ramp

primary
#B197FA
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B197FA

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

Preview Lab → · Contrast checker → · Palette generator →

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