#B17BB7#B17BB7

#B17BB7 is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.8% C 0.106 H 323.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B17BB7
RGBrgb(177, 123, 183)
HSLhsl(294, 29%, 60%)
HSVhsv(294, 33%, 72%)
CMYKcmyk(3.3%, 32.8%, 0%, 28.2%)
CIE-LABlab(58.91, 31.20, -23.28)
CIE-LCHlch(58.91, 38.93, 323.28°)
OKLaboklab(65.82% 0.0847 -0.0633)
OKLCHoklch(65.82% 0.106 323.2)
XYZxyz(33.7607, 26.9330, 48.2107)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BB7 #81B77B
analogous
#937BB7 #B17BB7 #B77B9F
triadic
#B17BB7 #B7B17B #7BB7B1
tetradic
#B17BB7 #B7937B #81B77B #7B9FB7
square
#B17BB7 #B7937B #81B77B #7B9FB7
split-complementary
#B17BB7 #9FB77B #7BB793
monochromatic
#714177 #97569E #B17BB7 #C8A3CD #E0CAE2

Accessibility & contrast

On white

3.29
#B17BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B17BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17BB7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BB7#FFFFFF#000000##000000
##B17BB71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#758AB9
Deuteranopia (green-blind)
#8290B5
Tritanopia (blue-blind)
#B38191
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b17bb7;
/* rgb */ color: rgb(177, 123, 183);
/* oklch */ color: oklch(65.8% 0.106 323.2);
Tailwind
colors: {
  custom: {
    50: '#c9a2cc',
    500: '#b17bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b17bb7;
$custom-light: #c9a2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bb7",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 294,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.10579,
    "h": 323.2
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#B17BB7
secondary
#BED2BB
accent
#C6626C
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F13
muted
#827F82

Preview Lab

Preview with #B17BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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