#B172AA#B172AA

#B172AA is a light, moderate purple. Relative luminance 0.243; OKLCH L 63.7% C 0.109 H 330.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B172AA
RGBrgb(177, 114, 170)
HSLhsl(307, 29%, 57%)
HSVhsv(307, 36%, 69%)
CMYKcmyk(0%, 35.6%, 4%, 30.6%)
CIE-LABlab(56.37, 33.71, -19.71)
CIE-LCHlch(56.37, 39.05, 329.69°)
OKLaboklab(63.73% 0.0951 -0.0532)
OKLCHoklch(63.73% 0.109 330.8)
XYZxyz(31.4040, 24.2854, 41.0558)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B172AA #72B179
analogous
#9972B1 #B172AA #B1728B
triadic
#B172AA #AAB172 #72AAB1
tetradic
#B172AA #B19972 #72B179 #728BB1
square
#B172AA #B19972 #72B179 #728BB1
split-complementary
#B172AA #8BB172 #72B199
monochromatic
#6D3C67 #94528D #B172AA #C799C2 #DDC1DA

Accessibility & contrast

On white

3.59
#B172AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B172AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B172AA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B172AA#FFFFFF#000000##000000
##B172AA1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AC
Deuteranopia (green-blind)
#808AA8
Tritanopia (blue-blind)
#B67687
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b172aa;
/* rgb */ color: rgb(177, 114, 170);
/* oklch */ color: oklch(63.7% 0.109 330.8);
Tailwind
colors: {
  custom: {
    50: '#c99bc3',
    500: '#b172aa',
    950: '#000000',
  },
}
SCSS
$custom: #b172aa;
$custom-light: #c99bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b172aa",
  "rgb": {
    "r": 177,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 306.667,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.10901,
    "h": 330.8
  },
  "luminance": 0.24284
}

Semantic roles & 50–950 ramp

primary
#B172AA
secondary
#B3CCB5
accent
#C56E63
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B172AA

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

Preview Lab → · Contrast checker → · Palette generator →

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