#B173BD#B173BD

#B173BD is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.7% C 0.127 H 320.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B173BD
RGBrgb(177, 115, 189)
HSLhsl(290, 36%, 60%)
HSVhsv(290, 39%, 74%)
CMYKcmyk(6.3%, 39.2%, 0%, 25.9%)
CIE-LABlab(57.35, 36.83, -29.11)
CIE-LCHlch(57.35, 46.95, 321.68°)
OKLaboklab(64.72% 0.0984 -0.0798)
OKLCHoklch(64.72% 0.127 320.9)
XYZxyz(33.4464, 25.2838, 51.2527)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173BD #7FBD73
analogous
#8C73BD #B173BD #BD73A4
triadic
#B173BD #BDB173 #73BDB1
tetradic
#B173BD #BD8C73 #7FBD73 #73A4BD
square
#B173BD #BD8C73 #7FBD73 #73A4BD
split-complementary
#B173BD #A4BD73 #73BD8C
monochromatic
#713A7B #974EA5 #B173BD #C89DD1 #DFC6E4

Accessibility & contrast

On white

3.47
#B173BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B173BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173BD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173BD#FFFFFF#000000##000000
##B173BD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#7A8CBB
Tritanopia (blue-blind)
#B27C8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b173bd;
/* rgb */ color: rgb(177, 115, 189);
/* oklch */ color: oklch(64.7% 0.127 320.9);
Tailwind
colors: {
  custom: {
    50: '#c99cd1',
    500: '#b173bd',
    950: '#000000',
  },
}
SCSS
$custom: #b173bd;
$custom-light: #c99cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b173bd",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 290.27,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.12667,
    "h": 320.9
  },
  "luminance": 0.25283
}

Semantic roles & 50–950 ramp

primary
#B173BD
secondary
#BCD4B8
accent
#CC5C6E
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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