#B931A3#B931A3

#B931A3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.209 H 335.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B931A3
RGBrgb(185, 49, 163)
HSLhsl(310, 58%, 46%)
HSVhsv(310, 74%, 73%)
CMYKcmyk(0%, 73.5%, 11.9%, 27.5%)
CIE-LABlab(45.85, 64.98, -31.80)
CIE-LCHlch(45.85, 72.34, 333.92°)
OKLaboklab(56.08% 0.19 -0.0868)
OKLCHoklch(56.08% 0.209 335.4)
XYZxyz(27.7171, 15.1577, 36.1092)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931A3 #31B947
analogous
#8B31B9 #B931A3 #B9315F
triadic
#B931A3 #A3B931 #31A3B9
tetradic
#B931A3 #B98B31 #31B947 #315FB9
square
#B931A3 #B98B31 #31B947 #315FB9
split-complementary
#B931A3 #5FB931 #31B98B
monochromatic
#58174E #892478 #B931A3 #D255BE #DF86D0

Accessibility & contrast

On white

5.21
#B931A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B931A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931A3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931A3#FFFFFF#000000##FFFFFF
##B931A31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A6
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#C23C67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b931a3;
/* rgb */ color: rgb(185, 49, 163);
/* oklch */ color: oklch(56.1% 0.209 335.4);
Tailwind
colors: {
  custom: {
    50: '#d277be',
    500: '#b931a3',
    950: '#000000',
  },
}
SCSS
$custom: #b931a3;
$custom-light: #d277be;
$custom-dark: #000000;
JSON
{
  "hex": "#b931a3",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 309.706,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.20886,
    "h": 335.4
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#B931A3
secondary
#7DC88A
accent
#E16046
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B931A3

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

Preview Lab → · Contrast checker → · Palette generator →

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