#B17DB1#B17DB1

#B17DB1 is a light, moderate purple. Relative luminance 0.272; OKLCH L 65.9% C 0.096 H 326.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B17DB1
RGBrgb(177, 125, 177)
HSLhsl(300, 25%, 59%)
HSVhsv(300, 29%, 69%)
CMYKcmyk(0%, 29.4%, 0%, 30.6%)
CIE-LABlab(59.15, 28.92, -19.49)
CIE-LCHlch(59.15, 34.87, 326.02°)
OKLaboklab(65.93% 0.0799 -0.0527)
OKLCHoklch(65.93% 0.096 326.6)
XYZxyz(33.4001, 27.1898, 45.0752)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17DB1 #7DB17D
analogous
#977DB1 #B17DB1 #B17D97
triadic
#B17DB1 #B1B17D #7DB1B1
tetradic
#B17DB1 #B1977D #7DB17D #7D97B1
square
#B17DB1 #B1977D #7DB17D #7D97B1
split-complementary
#B17DB1 #97B17D #7DB197
monochromatic
#704370 #975A97 #B17DB1 #C8A3C8 #DFCADF

Accessibility & contrast

On white

3.26
#B17DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B17DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17DB1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17DB1#FFFFFF#000000##000000
##B17DB11.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#8691AF
Tritanopia (blue-blind)
#B48190
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b17db1;
/* rgb */ color: rgb(177, 125, 177);
/* oklch */ color: oklch(65.9% 0.096 326.6);
Tailwind
colors: {
  custom: {
    50: '#c9a3c8',
    500: '#b17db1',
    950: '#000000',
  },
}
SCSS
$custom: #b17db1;
$custom-light: #c9a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b17db1",
  "rgb": {
    "r": 177,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 25,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65927,
    "c": 0.09576,
    "h": 326.6
  },
  "luminance": 0.27189
}

Semantic roles & 50–950 ramp

primary
#B17DB1
secondary
#BBCFBB
accent
#C16666
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F13
muted
#827F82

Preview Lab

Preview with #B17DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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