#B397BB#B397BB

#B397BB is a light, moderate purple. Relative luminance 0.353; OKLCH L 71.3% C 0.060 H 318.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B397BB
RGBrgb(179, 151, 187)
HSLhsl(287, 21%, 66%)
HSVhsv(287, 19%, 73%)
CMYKcmyk(4.3%, 19.3%, 0%, 26.7%)
CIE-LABlab(65.99, 16.97, -14.76)
CIE-LCHlch(65.99, 22.49, 318.98°)
OKLaboklab(71.33% 0.0452 -0.0398)
OKLCHoklch(71.33% 0.06 318.7)
XYZxyz(38.6254, 35.3053, 51.7839)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397BB #9FBB97
analogous
#A197BB #B397BB #BB97B1
triadic
#B397BB #BBB397 #97BBB3
tetradic
#B397BB #BBA197 #9FBB97 #97B1BB
square
#B397BB #BBA197 #9FBB97 #97B1BB
split-complementary
#B397BB #B1BB97 #97BBA1
monochromatic
#785582 #9872A3 #B397BB #CEBCD3 #E9E1EB

Accessibility & contrast

On white

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

On black

8.06
#B397BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397BB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397BB#FFFFFF#000000##000000
##B397BB1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#939EBD
Deuteranopia (green-blind)
#99A1BA
Tritanopia (blue-blind)
#B39BA3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b397bb;
/* rgb */ color: rgb(179, 151, 187);
/* oklch */ color: oklch(71.3% 0.060 318.7);
Tailwind
colors: {
  custom: {
    50: '#cab5cf',
    500: '#b397bb',
    950: '#000000',
  },
}
SCSS
$custom: #b397bb;
$custom-light: #cab5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b397bb",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 286.667,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.06018,
    "h": 318.7
  },
  "luminance": 0.35305
}

Semantic roles & 50–950 ramp

primary
#B397BB
secondary
#D4DDD1
accent
#9F465A
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #B397BB

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

Preview Lab → · Contrast checker → · Palette generator →

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