#B397BA#B397BA

#B397BA is a light, muted purple. Relative luminance 0.353; OKLCH L 71.3% C 0.059 H 319.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B397BA
RGBrgb(179, 151, 186)
HSLhsl(288, 20%, 66%)
HSVhsv(288, 19%, 73%)
CMYKcmyk(3.8%, 18.8%, 0%, 27.1%)
CIE-LABlab(65.95, 16.77, -14.25)
CIE-LCHlch(65.95, 22.00, 319.64°)
OKLaboklab(71.3% 0.0449 -0.0383)
OKLCHoklch(71.3% 0.059 319.5)
XYZxyz(38.5187, 35.2627, 51.2221)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397BA #9EBA97
analogous
#A197BA #B397BA #BA97AF
triadic
#B397BA #BAB397 #97BAB3
tetradic
#B397BA #BAA197 #9EBA97 #97AFBA
square
#B397BA #BAA197 #9EBA97 #97AFBA
split-complementary
#B397BA #AFBA97 #97BAA1
monochromatic
#785681 #9872A2 #B397BA #CEBCD2 #E9E1EB

Accessibility & contrast

On white

2.61
#B397BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B397BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397BA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397BA#FFFFFF#000000##000000
##B397BA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#939EBC
Deuteranopia (green-blind)
#99A1B9
Tritanopia (blue-blind)
#B49AA3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b397ba;
/* rgb */ color: rgb(179, 151, 186);
/* oklch */ color: oklch(71.3% 0.059 319.5);
Tailwind
colors: {
  custom: {
    50: '#cab5ce',
    500: '#b397ba',
    950: '#000000',
  },
}
SCSS
$custom: #b397ba;
$custom-light: #cab5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b397ba",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 288,
    "s": 20.231,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.05901,
    "h": 319.5
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#B397BA
secondary
#D3DCD1
accent
#9F4758
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #B397BA

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

Preview Lab → · Contrast checker → · Palette generator →

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