#B197FD#B197FD

#B197FD is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.0% C 0.146 H 294.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B197FD
RGBrgb(177, 151, 253)
HSLhsl(255, 96%, 79%)
HSVhsv(255, 40%, 99%)
CMYKcmyk(30%, 40.3%, 0%, 0.8%)
CIE-LABlab(68.44, 31.21, -47.44)
CIE-LCHlch(68.44, 56.78, 303.34°)
OKLaboklab(74.03% 0.0599 -0.1328)
OKLCHoklch(74.03% 0.146 294.3)
XYZxyz(46.9233, 38.5714, 97.8823)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197FD #E3FD97
analogous
#97B0FD #B197FD #E497FD
triadic
#B197FD #FDB197 #97FDB1
tetradic
#B197FD #FD97B0 #E3FD97 #97FDE4
square
#B197FD #FD97B0 #E3FD97 #97FDE4
split-complementary
#B197FD #FDE497 #B0FD97
monochromatic
#571FFB #845BFC #B197FD #DED3FE #E8E1FE

Accessibility & contrast

On white

2.41
#B197FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B197FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197FD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197FD#FFFFFF#000000##000000
##B197FD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#A0A9BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b197fd;
/* rgb */ color: rgb(177, 151, 253);
/* oklch */ color: oklch(74.0% 0.146 294.3);
Tailwind
colors: {
  custom: {
    50: '#cab6fe',
    500: '#b197fd',
    950: '#000000',
  },
}
SCSS
$custom: #b197fd;
$custom-light: #cab6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b197fd",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 255.294,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.14568,
    "h": 294.3
  },
  "luminance": 0.38572
}

Semantic roles & 50–950 ramp

primary
#B197FD
secondary
#EEF7D4
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B197FD

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

Preview Lab → · Contrast checker → · Palette generator →

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