#B931B0#B931B0

#B931B0 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.218 H 330.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B931B0
RGBrgb(185, 49, 176)
HSLhsl(304, 58%, 46%)
HSVhsv(304, 74%, 73%)
CMYKcmyk(0%, 73.5%, 4.9%, 27.5%)
CIE-LABlab(46.51, 66.95, -38.46)
CIE-LCHlch(46.51, 77.21, 330.12°)
OKLaboklab(56.77% 0.1907 -0.106)
OKLCHoklch(56.77% 0.218 330.9)
XYZxyz(28.9423, 15.6478, 42.5619)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931B0 #31B93A
analogous
#7E31B9 #B931B0 #B9316C
triadic
#B931B0 #B0B931 #31B0B9
tetradic
#B931B0 #B97E31 #31B93A #316CB9
square
#B931B0 #B97E31 #31B93A #316CB9
split-complementary
#B931B0 #6CB931 #31B97E
monochromatic
#581754 #892482 #B931B0 #D255CA #DF86D9

Accessibility & contrast

On white

5.09
#B931B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B931B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931B0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931B0#FFFFFF#000000##FFFFFF
##B931B01.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#C0426E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b931b0;
/* rgb */ color: rgb(185, 49, 176);
/* oklch */ color: oklch(56.8% 0.218 330.9);
Tailwind
colors: {
  custom: {
    50: '#d277c8',
    500: '#b931b0',
    950: '#000000',
  },
}
SCSS
$custom: #b931b0;
$custom-light: #d277c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b931b0",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 303.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.21819,
    "h": 330.9
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#B931B0
secondary
#7DC882
accent
#E15146
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931B0

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

Preview Lab → · Contrast checker → · Palette generator →

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