#B173BC#B173BC

#B173BC is a light, vivid purple. Relative luminance 0.252; OKLCH L 64.7% C 0.126 H 321.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B173BC
RGBrgb(177, 115, 188)
HSLhsl(291, 35%, 59%)
HSVhsv(291, 39%, 74%)
CMYKcmyk(5.9%, 38.8%, 0%, 26.3%)
CIE-LABlab(57.31, 36.63, -28.60)
CIE-LCHlch(57.31, 46.48, 322.01°)
OKLaboklab(64.68% 0.0981 -0.0784)
OKLCHoklch(64.68% 0.126 321.4)
XYZxyz(33.3382, 25.2405, 50.6830)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173BC #7EBC73
analogous
#8D73BC #B173BC #BC73A3
triadic
#B173BC #BCB173 #73BCB1
tetradic
#B173BC #BC8D73 #7EBC73 #73A3BC
square
#B173BC #BC8D73 #7EBC73 #73A3BC
split-complementary
#B173BC #A3BC73 #73BC8D
monochromatic
#713A7A #974EA4 #B173BC #C89CD0 #DFC6E4

Accessibility & contrast

On white

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

On black

6.05
#B173BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173BC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173BC#FFFFFF#000000##000000
##B173BC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BF
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#B37B8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b173bc;
/* rgb */ color: rgb(177, 115, 188);
/* oklch */ color: oklch(64.7% 0.126 321.4);
Tailwind
colors: {
  custom: {
    50: '#c99cd0',
    500: '#b173bc',
    950: '#000000',
  },
}
SCSS
$custom: #b173bc;
$custom-light: #c99cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b173bc",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 290.959,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.12559,
    "h": 321.4
  },
  "luminance": 0.25239
}

Semantic roles & 50–950 ramp

primary
#B173BC
secondary
#BBD4B7
accent
#CB5C6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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