#B931AE#B931AE

#B931AE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.217 H 331.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B931AE
RGBrgb(185, 49, 174)
HSLhsl(305, 58%, 46%)
HSVhsv(305, 74%, 73%)
CMYKcmyk(0%, 73.5%, 5.9%, 27.5%)
CIE-LABlab(46.40, 66.64, -37.45)
CIE-LCHlch(46.40, 76.44, 330.67°)
OKLaboklab(56.66% 0.1906 -0.1031)
OKLCHoklch(56.66% 0.217 331.6)
XYZxyz(28.7459, 15.5692, 41.5274)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931AE #31B93C
analogous
#8031B9 #B931AE #B9316A
triadic
#B931AE #AEB931 #31AEB9
tetradic
#B931AE #B98031 #31B93C #316AB9
square
#B931AE #B98031 #31B93C #316AB9
split-complementary
#B931AE #6AB931 #31B980
monochromatic
#581753 #892480 #B931AE #D255C8 #DF86D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B931AE#FFFFFF#000000##FFFFFF
##B931AE1.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)
#2662B1
Deuteranopia (green-blind)
#5C75AB
Tritanopia (blue-blind)
#C1416D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b931ae;
/* rgb */ color: rgb(185, 49, 174);
/* oklch */ color: oklch(56.7% 0.217 331.6);
Tailwind
colors: {
  custom: {
    50: '#d277c6',
    500: '#b931ae',
    950: '#000000',
  },
}
SCSS
$custom: #b931ae;
$custom-light: #d277c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b931ae",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 304.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.21673,
    "h": 331.6
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#B931AE
secondary
#7DC883
accent
#E15346
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931AE

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

Preview Lab → · Contrast checker → · Palette generator →

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