#B173BB#B173BB

#B173BB is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.6% C 0.125 H 321.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B173BB
RGBrgb(177, 115, 187)
HSLhsl(292, 35%, 59%)
HSVhsv(292, 39%, 73%)
CMYKcmyk(5.3%, 38.5%, 0%, 26.7%)
CIE-LABlab(57.27, 36.43, -28.10)
CIE-LCHlch(57.27, 46.01, 322.36°)
OKLaboklab(64.63% 0.0979 -0.0769)
OKLCHoklch(64.63% 0.125 321.8)
XYZxyz(33.2308, 25.1976, 50.1172)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173BB #7DBB73
analogous
#8D73BB #B173BB #BB73A1
triadic
#B173BB #BBB173 #73BBB1
tetradic
#B173BB #BB8D73 #7DBB73 #73A1BB
square
#B173BB #BB8D73 #7DBB73 #73A1BB
split-complementary
#B173BB #A1BB73 #73BB8D
monochromatic
#703B79 #974FA2 #B173BB #C89CCF #DFC5E3

Accessibility & contrast

On white

3.48
#B173BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B173BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173BB#FFFFFF#000000##000000
##B173BB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#B37B8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b173bb;
/* rgb */ color: rgb(177, 115, 187);
/* oklch */ color: oklch(64.6% 0.125 321.8);
Tailwind
colors: {
  custom: {
    50: '#c99ccf',
    500: '#b173bb',
    950: '#000000',
  },
}
SCSS
$custom: #b173bb;
$custom-light: #c99ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b173bb",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 291.667,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.12452,
    "h": 321.8
  },
  "luminance": 0.25196
}

Semantic roles & 50–950 ramp

primary
#B173BB
secondary
#BBD3B7
accent
#CB5D6C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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