#B931AB#B931AB

#B931AB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.215 H 332.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B931AB
RGBrgb(185, 49, 171)
HSLhsl(306, 58%, 46%)
HSVhsv(306, 74%, 73%)
CMYKcmyk(0%, 73.5%, 7.6%, 27.5%)
CIE-LABlab(46.25, 66.18, -35.92)
CIE-LCHlch(46.25, 75.30, 331.51°)
OKLaboklab(56.5% 0.1905 -0.0987)
OKLCHoklch(56.5% 0.215 332.6)
XYZxyz(28.4567, 15.4536, 40.0043)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931AB #31B93F
analogous
#8331B9 #B931AB #B93167
triadic
#B931AB #ABB931 #31ABB9
tetradic
#B931AB #B98331 #31B93F #3167B9
square
#B931AB #B98331 #31B93F #3167B9
split-complementary
#B931AB #67B931 #31B983
monochromatic
#581752 #89247E #B931AB #D255C5 #DF86D6

Accessibility & contrast

On white

5.13
#B931AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B931AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931AB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931AB#FFFFFF#000000##FFFFFF
##B931AB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#5E74A8
Tritanopia (blue-blind)
#C1406B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b931ab;
/* rgb */ color: rgb(185, 49, 171);
/* oklch */ color: oklch(56.5% 0.215 332.6);
Tailwind
colors: {
  custom: {
    50: '#d277c4',
    500: '#b931ab',
    950: '#000000',
  },
}
SCSS
$custom: #b931ab;
$custom-light: #d277c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b931ab",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 306.176,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56499,
    "c": 0.21454,
    "h": 332.6
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#B931AB
secondary
#7DC885
accent
#E15646
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931AB

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

Preview Lab → · Contrast checker → · Palette generator →

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