#B397BF#B397BF

#B397BF is a light, moderate purple. Relative luminance 0.355; OKLCH L 71.5% C 0.065 H 315.7°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B397BF
RGBrgb(179, 151, 191)
HSLhsl(282, 24%, 67%)
HSVhsv(282, 21%, 75%)
CMYKcmyk(6.3%, 20.9%, 0%, 25.1%)
CIE-LABlab(66.12, 17.77, -16.79)
CIE-LCHlch(66.12, 24.45, 316.62°)
OKLaboklab(71.48% 0.0465 -0.0454)
OKLCHoklch(71.48% 0.065 315.7)
XYZxyz(39.0595, 35.4790, 54.0706)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397BF #A3BF97
analogous
#9F97BF #B397BF #BF97B7
triadic
#B397BF #BFB397 #97BFB3
tetradic
#B397BF #BF9F97 #A3BF97 #97B7BF
square
#B397BF #BF9F97 #A3BF97 #97B7BF
split-complementary
#B397BF #B7BF97 #97BF9F
monochromatic
#785488 #9771A8 #B397BF #CFBDD6 #EAE3EE

Accessibility & contrast

On white

2.59
#B397BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B397BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397BF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397BF#FFFFFF#000000##000000
##B397BF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#B39BA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b397bf;
/* rgb */ color: rgb(179, 151, 191);
/* oklch */ color: oklch(71.5% 0.065 315.7);
Tailwind
colors: {
  custom: {
    50: '#cab5d2',
    500: '#b397bf',
    950: '#000000',
  },
}
SCSS
$custom: #b397bf;
$custom-light: #cab5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b397bf",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 282,
    "s": 23.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71479,
    "c": 0.06499,
    "h": 315.7
  },
  "luminance": 0.35479
}

Semantic roles & 50–950 ramp

primary
#B397BF
secondary
#D6DFD3
accent
#A24360
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B397BF

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

Preview Lab → · Contrast checker → · Palette generator →

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