#B197CA#B197CA

#B197CA is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.7% C 0.078 H 307.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B197CA
RGBrgb(177, 151, 202)
HSLhsl(271, 32%, 69%)
HSVhsv(271, 25%, 79%)
CMYKcmyk(12.4%, 25.2%, 0%, 20.8%)
CIE-LABlab(66.32, 19.40, -22.63)
CIE-LCHlch(66.32, 29.81, 310.60°)
OKLaboklab(71.72% 0.0477 -0.0617)
OKLCHoklch(71.72% 0.078 307.7)
XYZxyz(39.8568, 35.7448, 60.6654)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197CA #B0CA97
analogous
#9897CA #B197CA #CA97CA
triadic
#B197CA #CAB197 #97CAB1
tetradic
#B197CA #CA9897 #B0CA97 #97CACA
square
#B197CA #CA9897 #B0CA97 #97CACA
split-complementary
#B197CA #CACA97 #97CA98
monochromatic
#744E99 #936EB5 #B197CA #CFC0DF #EEE8F3

Accessibility & contrast

On white

2.58
#B197CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B197CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197CA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197CA#FFFFFF#000000##000000
##B197CA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#93A2C8
Tritanopia (blue-blind)
#AE9EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b197ca;
/* rgb */ color: rgb(177, 151, 202);
/* oklch */ color: oklch(71.7% 0.078 307.7);
Tailwind
colors: {
  custom: {
    50: '#c8b5da',
    500: '#b197ca',
    950: '#000000',
  },
}
SCSS
$custom: #b197ca;
$custom-light: #c8b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b197ca",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 270.588,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.07801,
    "h": 307.7
  },
  "luminance": 0.35745
}

Semantic roles & 50–950 ramp

primary
#B197CA
secondary
#DEE6D7
accent
#AB3A72
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B197CA

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

Preview Lab → · Contrast checker → · Palette generator →

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