#B931AD#B931AD

#B931AD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.216 H 331.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B931AD
RGBrgb(185, 49, 173)
HSLhsl(305, 58%, 46%)
HSVhsv(305, 74%, 73%)
CMYKcmyk(0%, 73.5%, 6.5%, 27.5%)
CIE-LABlab(46.35, 66.48, -36.94)
CIE-LCHlch(46.35, 76.06, 330.94°)
OKLaboklab(56.61% 0.1906 -0.1016)
OKLCHoklch(56.61% 0.216 331.9)
XYZxyz(28.6488, 15.5304, 41.0159)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931AD #31B93D
analogous
#8131B9 #B931AD #B93169
triadic
#B931AD #ADB931 #31ADB9
tetradic
#B931AD #B98131 #31B93D #3169B9
square
#B931AD #B98131 #31B93D #3169B9
split-complementary
#B931AD #69B931 #31B981
monochromatic
#581753 #892480 #B931AD #D255C7 #DF86D7

Accessibility & contrast

On white

5.11
#B931AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B931AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931AD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931AD#FFFFFF#000000##FFFFFF
##B931AD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B0
Deuteranopia (green-blind)
#5D75AA
Tritanopia (blue-blind)
#C1416C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b931ad;
/* rgb */ color: rgb(185, 49, 173);
/* oklch */ color: oklch(56.6% 0.216 331.9);
Tailwind
colors: {
  custom: {
    50: '#d277c6',
    500: '#b931ad',
    950: '#000000',
  },
}
SCSS
$custom: #b931ad;
$custom-light: #d277c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b931ad",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 305.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.216,
    "h": 331.9
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#B931AD
secondary
#7DC884
accent
#E15446
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931AD

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

Preview Lab → · Contrast checker → · Palette generator →

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