#B931BF#B931BF

#B931BF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.229 H 326.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B931BF
RGBrgb(185, 49, 191)
HSLhsl(297, 59%, 47%)
HSVhsv(297, 74%, 75%)
CMYKcmyk(3.1%, 74.3%, 0%, 25.1%)
CIE-LABlab(47.33, 69.36, -45.94)
CIE-LCHlch(47.33, 83.20, 326.48°)
OKLaboklab(57.62% 0.1907 -0.1277)
OKLCHoklch(57.62% 0.229 326.2)
XYZxyz(30.5093, 16.2746, 50.8145)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931BF #37BF31
analogous
#7231BF #B931BF #BF317E
triadic
#B931BF #BFB931 #31BFB9
tetradic
#B931BF #BF7231 #37BF31 #317EBF
square
#B931BF #BF7231 #37BF31 #317EBF
split-complementary
#B931BF #7EBF31 #31BF72
monochromatic
#5B185E #8A258E #B931BF #CF59D4 #DD8AE1

Accessibility & contrast

On white

4.94
#B931BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B931BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931BF#FFFFFF#000000##FFFFFF
##B931BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#BE4976
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b931bf;
/* rgb */ color: rgb(185, 49, 191);
/* oklch */ color: oklch(57.6% 0.229 326.2);
Tailwind
colors: {
  custom: {
    50: '#d278d3',
    500: '#b931bf',
    950: '#000000',
  },
}
SCSS
$custom: #b931bf;
$custom-light: #d278d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b931bf",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 297.465,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.22949,
    "h": 326.2
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#B931BF
secondary
#84CB81
accent
#E2454C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B931BF

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

Preview Lab → · Contrast checker → · Palette generator →

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