#B197FF#B197FF

#B197FF is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.1% C 0.148 H 294.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B197FF
RGBrgb(177, 151, 255)
HSLhsl(255, 100%, 80%)
HSVhsv(255, 41%, 100%)
CMYKcmyk(30.6%, 40.8%, 0%, 0%)
CIE-LABlab(68.53, 31.70, -48.38)
CIE-LCHlch(68.53, 57.84, 303.24°)
OKLaboklab(74.13% 0.0603 -0.1355)
OKLCHoklch(74.13% 0.148 294)
XYZxyz(47.2436, 38.6996, 99.5691)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197FF #E5FF97
analogous
#97B1FF #B197FF #E597FF
triadic
#B197FF #FFB197 #97FFB1
tetradic
#B197FF #FF97B1 #E5FF97 #97FFE5
square
#B197FF #FF97B1 #E5FF97 #97FFE5
split-complementary
#B197FF #FFE597 #B1FF97
monochromatic
#551DFF #835AFF #B197FF #DFD4FF #E8E0FF

Accessibility & contrast

On white

2.40
#B197FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B197FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197FF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197FF#FFFFFF#000000##000000
##B197FF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7CA5FC
Tritanopia (blue-blind)
#A0AABF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b197ff;
/* rgb */ color: rgb(177, 151, 255);
/* oklch */ color: oklch(74.1% 0.148 294.0);
Tailwind
colors: {
  custom: {
    50: '#cbb6ff',
    500: '#b197ff',
    950: '#000000',
  },
}
SCSS
$custom: #b197ff;
$custom-light: #cbb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b197ff",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 255,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.14832,
    "h": 294
  },
  "luminance": 0.387
}

Semantic roles & 50–950 ramp

primary
#B197FF
secondary
#EEF7D4
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B197FF

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

Preview Lab → · Contrast checker → · Palette generator →

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