#B931AF#B931AF

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

Color values

HEX#B931AF
RGBrgb(185, 49, 175)
HSLhsl(304, 58%, 46%)
HSVhsv(304, 74%, 73%)
CMYKcmyk(0%, 73.5%, 5.4%, 27.5%)
CIE-LABlab(46.46, 66.79, -37.95)
CIE-LCHlch(46.46, 76.82, 330.39°)
OKLaboklab(56.72% 0.1907 -0.1045)
OKLCHoklch(56.72% 0.217 331.3)
XYZxyz(28.8437, 15.6084, 42.0427)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931AF #31B93B
analogous
#7F31B9 #B931AF #B9316B
triadic
#B931AF #AFB931 #31AFB9
tetradic
#B931AF #B97F31 #31B93B #316BB9
square
#B931AF #B97F31 #31B93B #316BB9
split-complementary
#B931AF #6BB931 #31B97F
monochromatic
#581753 #892481 #B931AF #D255C9 #DF86D8

Accessibility & contrast

On white

5.10
#B931AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B931AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931AF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931AF#FFFFFF#000000##FFFFFF
##B931AF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#C0426D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b931af;
/* rgb */ color: rgb(185, 49, 175);
/* oklch */ color: oklch(56.7% 0.217 331.3);
Tailwind
colors: {
  custom: {
    50: '#d277c7',
    500: '#b931af',
    950: '#000000',
  },
}
SCSS
$custom: #b931af;
$custom-light: #d277c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b931af",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 304.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.21746,
    "h": 331.3
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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