#B397BC#B397BC

#B397BC is a light, moderate purple. Relative luminance 0.353; OKLCH L 71.4% C 0.061 H 317.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B397BC
RGBrgb(179, 151, 188)
HSLhsl(285, 22%, 66%)
HSVhsv(285, 20%, 74%)
CMYKcmyk(4.8%, 19.7%, 0%, 26.3%)
CIE-LABlab(66.02, 17.17, -15.27)
CIE-LCHlch(66.02, 22.97, 318.35°)
OKLaboklab(71.37% 0.0455 -0.0412)
OKLCHoklch(71.37% 0.061 317.9)
XYZxyz(38.7328, 35.3483, 52.3497)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397BC #A0BC97
analogous
#A197BC #B397BC #BC97B3
triadic
#B397BC #BCB397 #97BCB3
tetradic
#B397BC #BCA197 #A0BC97 #97B3BC
square
#B397BC #BCA197 #A0BC97 #97B3BC
split-complementary
#B397BC #B3BC97 #97BCA1
monochromatic
#785584 #9872A4 #B397BC #CEBCD4 #E9E1EC

Accessibility & contrast

On white

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

On black

8.07
#B397BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397BC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397BC#FFFFFF#000000##000000
##B397BC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#939FBE
Deuteranopia (green-blind)
#99A1BB
Tritanopia (blue-blind)
#B39BA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b397bc;
/* rgb */ color: rgb(179, 151, 188);
/* oklch */ color: oklch(71.4% 0.061 317.9);
Tailwind
colors: {
  custom: {
    50: '#cab5d0',
    500: '#b397bc',
    950: '#000000',
  },
}
SCSS
$custom: #b397bc;
$custom-light: #cab5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b397bc",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 285.405,
    "s": 21.637,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.06138,
    "h": 317.9
  },
  "luminance": 0.35348
}

Semantic roles & 50–950 ramp

primary
#B397BC
secondary
#D4DDD1
accent
#A0455B
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B397BC

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

Preview Lab → · Contrast checker → · Palette generator →

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