#B173AF#B173AF

#B173AF is a light, moderate purple. Relative luminance 0.247; OKLCH L 64.1% C 0.112 H 327.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B173AF
RGBrgb(177, 115, 175)
HSLhsl(302, 28%, 57%)
HSVhsv(302, 35%, 69%)
CMYKcmyk(0%, 35%, 1.1%, 30.6%)
CIE-LABlab(56.79, 34.10, -21.96)
CIE-LCHlch(56.79, 40.55, 327.22°)
OKLaboklab(64.11% 0.0949 -0.0596)
OKLCHoklch(64.11% 0.112 327.9)
XYZxyz(31.9994, 24.7050, 43.6321)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173AF #73B175
analogous
#9473B1 #B173AF #B17390
triadic
#B173AF #AFB173 #73AFB1
tetradic
#B173AF #B19473 #73B175 #7390B1
square
#B173AF #B19473 #73B175 #7390B1
split-complementary
#B173AF #90B173 #73B194
monochromatic
#6D3D6B #945392 #B173AF #C79AC5 #DDC2DC

Accessibility & contrast

On white

3.53
#B173AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B173AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173AF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173AF#FFFFFF#000000##000000
##B173AF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B1
Deuteranopia (green-blind)
#7F8BAD
Tritanopia (blue-blind)
#B57889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b173af;
/* rgb */ color: rgb(177, 115, 175);
/* oklch */ color: oklch(64.1% 0.112 327.9);
Tailwind
colors: {
  custom: {
    50: '#c99cc7',
    500: '#b173af',
    950: '#000000',
  },
}
SCSS
$custom: #b173af;
$custom-light: #c99cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b173af",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 301.935,
    "s": 28.44,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6411,
    "c": 0.11207,
    "h": 327.9
  },
  "luminance": 0.24704
}

Semantic roles & 50–950 ramp

primary
#B173AF
secondary
#B3CCB4
accent
#C56663
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #B173AF

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

Preview Lab → · Contrast checker → · Palette generator →

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