#B031AB#B031AB

#B031AB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.210 H 329.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B031AB
RGBrgb(176, 49, 171)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 72%, 69%)
CMYKcmyk(0%, 72.2%, 2.8%, 31%)
CIE-LABlab(44.76, 64.15, -38.37)
CIE-LCHlch(44.76, 74.75, 329.11°)
OKLaboklab(55.14% 0.1812 -0.106)
OKLCHoklch(55.14% 0.21 329.7)
XYZxyz(26.3533, 14.3690, 39.9057)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031AB #31B036
analogous
#7631B0 #B031AB #B0316C
triadic
#B031AB #ABB031 #31ABB0
tetradic
#B031AB #B07631 #31B036 #316CB0
square
#B031AB #B07631 #31B036 #316CB0
split-complementary
#B031AB #6CB031 #31B076
monochromatic
#50164E #80247C #B031AB #CE50C9 #DC80D8

Accessibility & contrast

On white

5.42
#B031AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B031AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031AB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031AB#FFFFFF#000000##FFFFFF
##B031AB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B6426B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b031ab;
/* rgb */ color: rgb(176, 49, 171);
/* oklch */ color: oklch(55.1% 0.210 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb76c4',
    500: '#b031ab',
    950: '#000000',
  },
}
SCSS
$custom: #b031ab;
$custom-light: #cb76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b031ab",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 302.362,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.2099,
    "h": 329.7
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#B031AB
secondary
#78C57B
accent
#E04E48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B031AB

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

Preview Lab → · Contrast checker → · Palette generator →

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