#B931A4#B931A4

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

Color values

HEX#B931A4
RGBrgb(185, 49, 164)
HSLhsl(309, 58%, 46%)
HSVhsv(309, 74%, 73%)
CMYKcmyk(0%, 73.5%, 11.4%, 27.5%)
CIE-LABlab(45.90, 65.12, -32.32)
CIE-LCHlch(45.90, 72.70, 333.61°)
OKLaboklab(56.13% 0.19 -0.0883)
OKLCHoklch(56.13% 0.21 335.1)
XYZxyz(27.8071, 15.1937, 36.5829)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931A4 #31B946
analogous
#8A31B9 #B931A4 #B93160
triadic
#B931A4 #A4B931 #31A4B9
tetradic
#B931A4 #B98A31 #31B946 #3160B9
square
#B931A4 #B98A31 #31B946 #3160B9
split-complementary
#B931A4 #60B931 #31B98A
monochromatic
#58174E #892479 #B931A4 #D255BF #DF86D1

Accessibility & contrast

On white

5.20
#B931A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B931A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931A4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931A4#FFFFFF#000000##FFFFFF
##B931A41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6174A1
Tritanopia (blue-blind)
#C23C67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b931a4;
/* rgb */ color: rgb(185, 49, 164);
/* oklch */ color: oklch(56.1% 0.210 335.1);
Tailwind
colors: {
  custom: {
    50: '#d277bf',
    500: '#b931a4',
    950: '#000000',
  },
}
SCSS
$custom: #b931a4;
$custom-light: #d277bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b931a4",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 309.265,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.20955,
    "h": 335.1
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#B931A4
secondary
#7DC889
accent
#E15E46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B931A4

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

Preview Lab → · Contrast checker → · Palette generator →

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