#B397BD#B397BD

#B397BD is a light, moderate purple. Relative luminance 0.354; OKLCH L 71.4% C 0.063 H 317.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B397BD
RGBrgb(179, 151, 189)
HSLhsl(284, 22%, 67%)
HSVhsv(284, 20%, 74%)
CMYKcmyk(5.3%, 20.1%, 0%, 25.9%)
CIE-LABlab(66.05, 17.37, -15.78)
CIE-LCHlch(66.05, 23.46, 317.74°)
OKLaboklab(71.41% 0.0459 -0.0426)
OKLCHoklch(71.41% 0.063 317.1)
XYZxyz(38.8409, 35.3916, 52.9194)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397BD #A1BD97
analogous
#A097BD #B397BD #BD97B4
triadic
#B397BD #BDB397 #97BDB3
tetradic
#B397BD #BDA097 #A1BD97 #97B4BD
square
#B397BD #BDA097 #A1BD97 #97B4BD
split-complementary
#B397BD #B4BD97 #97BDA0
monochromatic
#785485 #9872A5 #B397BD #CEBCD5 #EAE2ED

Accessibility & contrast

On white

2.60
#B397BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B397BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397BD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397BD#FFFFFF#000000##000000
##B397BD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#939FBF
Deuteranopia (green-blind)
#98A1BC
Tritanopia (blue-blind)
#B39BA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b397bd;
/* rgb */ color: rgb(179, 151, 189);
/* oklch */ color: oklch(71.4% 0.063 317.1);
Tailwind
colors: {
  custom: {
    50: '#cab5d1',
    500: '#b397bd',
    950: '#000000',
  },
}
SCSS
$custom: #b397bd;
$custom-light: #cab5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b397bd",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 284.211,
    "s": 22.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71405,
    "c": 0.06257,
    "h": 317.1
  },
  "luminance": 0.35391
}

Semantic roles & 50–950 ramp

primary
#B397BD
secondary
#D5DED2
accent
#A1455D
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B397BD

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

Preview Lab → · Contrast checker → · Palette generator →

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