#B17AAA#B17AAA

#B17AAA is a light, moderate purple. Relative luminance 0.262; OKLCH L 65.1% C 0.094 H 331.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B17AAA
RGBrgb(177, 122, 170)
HSLhsl(308, 26%, 59%)
HSVhsv(308, 31%, 69%)
CMYKcmyk(0%, 31.1%, 4%, 30.6%)
CIE-LABlab(58.20, 29.27, -16.93)
CIE-LCHlch(58.20, 33.81, 329.95°)
OKLaboklab(65.12% 0.0826 -0.0456)
OKLCHoklch(65.12% 0.094 331.1)
XYZxyz(32.3462, 26.1697, 41.3698)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17AAA #7AB181
analogous
#9C7AB1 #B17AAA #B17A8E
triadic
#B17AAA #AAB17A #7AAAB1
tetradic
#B17AAA #B19C7A #7AB181 #7A8EB1
square
#B17AAA #B19C7A #7AB181 #7A8EB1
split-complementary
#B17AAA #8EB17A #7AB19C
monochromatic
#6F4169 #96588E #B17AAA #C8A1C3 #DEC7DB

Accessibility & contrast

On white

3.37
#B17AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B17AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17AAA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17AAA#FFFFFF#000000##000000
##B17AAA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AC
Deuteranopia (green-blind)
#868FA8
Tritanopia (blue-blind)
#B67D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b17aaa;
/* rgb */ color: rgb(177, 122, 170);
/* oklch */ color: oklch(65.1% 0.094 331.1);
Tailwind
colors: {
  custom: {
    50: '#c9a1c3',
    500: '#b17aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b17aaa;
$custom-light: #c9a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b17aaa",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 307.636,
    "s": 26.066,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65119,
    "c": 0.09431,
    "h": 331.1
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#B17AAA
secondary
#B9CEBB
accent
#C27165
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #B17AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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