#B172BB#B172BB

#B172BB is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.5% C 0.126 H 321.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B172BB
RGBrgb(177, 114, 187)
HSLhsl(292, 35%, 59%)
HSVhsv(292, 39%, 73%)
CMYKcmyk(5.3%, 39%, 0%, 26.7%)
CIE-LABlab(57.05, 36.98, -28.44)
CIE-LCHlch(57.05, 46.65, 322.44°)
OKLaboklab(64.46% 0.0994 -0.0779)
OKLCHoklch(64.46% 0.126 321.9)
XYZxyz(33.1174, 24.9708, 50.0794)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B172BB #7CBB72
analogous
#8D72BB #B172BB #BB72A1
triadic
#B172BB #BBB172 #72BBB1
tetradic
#B172BB #BB8D72 #7CBB72 #72A1BB
square
#B172BB #BB8D72 #7CBB72 #72A1BB
split-complementary
#B172BB #A1BB72 #72BB8D
monochromatic
#703A78 #964EA2 #B172BB #C89BCF #DFC5E3

Accessibility & contrast

On white

3.50
#B172BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B172BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B172BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B172BB#FFFFFF#000000##000000
##B172BB1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#7A8BB9
Tritanopia (blue-blind)
#B37A8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b172bb;
/* rgb */ color: rgb(177, 114, 187);
/* oklch */ color: oklch(64.5% 0.126 321.9);
Tailwind
colors: {
  custom: {
    50: '#c99ccf',
    500: '#b172bb',
    950: '#000000',
  },
}
SCSS
$custom: #b172bb;
$custom-light: #c99ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b172bb",
  "rgb": {
    "r": 177,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 291.781,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.12629,
    "h": 321.9
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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