#B197FB#B197FB

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

Color values

HEX#B197FB
RGBrgb(177, 151, 251)
HSLhsl(256, 93%, 79%)
HSVhsv(256, 40%, 98%)
CMYKcmyk(29.5%, 39.8%, 0%, 1.6%)
CIE-LABlab(68.35, 30.72, -46.49)
CIE-LCHlch(68.35, 55.72, 303.45°)
OKLaboklab(73.93% 0.0596 -0.13)
OKLCHoklch(73.93% 0.143 294.6)
XYZxyz(46.6064, 38.4447, 96.2132)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197FB #E1FB97
analogous
#97AFFB #B197FB #E397FB
triadic
#B197FB #FBB197 #97FBB1
tetradic
#B197FB #FB97AF #E1FB97 #97FBE3
square
#B197FB #FB97AF #E1FB97 #97FBE3
split-complementary
#B197FB #FBE397 #AFFB97
monochromatic
#5921F6 #855CF9 #B197FB #DDD2FD #E9E2FE

Accessibility & contrast

On white

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

On black

8.69
#B197FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197FB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197FB#FFFFFF#000000##000000
##B197FB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#A1A9BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b197fb;
/* rgb */ color: rgb(177, 151, 251);
/* oklch */ color: oklch(73.9% 0.143 294.6);
Tailwind
colors: {
  custom: {
    50: '#cab6fd',
    500: '#b197fb',
    950: '#000000',
  },
}
SCSS
$custom: #b197fb;
$custom-light: #cab6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b197fb",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 255.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73932,
    "c": 0.14304,
    "h": 294.6
  },
  "luminance": 0.38445
}

Semantic roles & 50–950 ramp

primary
#B197FB
secondary
#EDF6D5
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B197FB

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

Preview Lab → · Contrast checker → · Palette generator →

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