#B931B4#B931B4

#B931B4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.221 H 329.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B931B4
RGBrgb(185, 49, 180)
HSLhsl(302, 58%, 46%)
HSVhsv(302, 74%, 73%)
CMYKcmyk(0%, 73.5%, 2.7%, 27.5%)
CIE-LABlab(46.72, 67.58, -40.48)
CIE-LCHlch(46.72, 78.77, 329.08°)
OKLaboklab(56.99% 0.1908 -0.1118)
OKLCHoklch(56.99% 0.221 329.6)
XYZxyz(29.3439, 15.8084, 44.6770)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931B4 #31B936
analogous
#7A31B9 #B931B4 #B93170
triadic
#B931B4 #B4B931 #31B4B9
tetradic
#B931B4 #B97A31 #31B936 #3170B9
square
#B931B4 #B97A31 #31B936 #3170B9
split-complementary
#B931B4 #70B931 #31B97A
monochromatic
#581756 #892485 #B931B4 #D255CD #DF86DC

Accessibility & contrast

On white

5.05
#B931B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B931B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931B4#FFFFFF#000000##FFFFFF
##B931B41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B8
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#C04470
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b931b4;
/* rgb */ color: rgb(185, 49, 180);
/* oklch */ color: oklch(57.0% 0.221 329.6);
Tailwind
colors: {
  custom: {
    50: '#d277cb',
    500: '#b931b4',
    950: '#000000',
  },
}
SCSS
$custom: #b931b4;
$custom-light: #d277cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b931b4",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 302.206,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.22116,
    "h": 329.6
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#B931B4
secondary
#7DC880
accent
#E14C46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931B4

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

Preview Lab → · Contrast checker → · Palette generator →

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