#B931B5#B931B5

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

Color values

HEX#B931B5
RGBrgb(185, 49, 181)
HSLhsl(302, 58%, 46%)
HSVhsv(302, 74%, 73%)
CMYKcmyk(0%, 73.5%, 2.2%, 27.5%)
CIE-LABlab(46.78, 67.74, -40.98)
CIE-LCHlch(46.78, 79.17, 328.83°)
OKLaboklab(57.05% 0.1908 -0.1133)
OKLCHoklch(57.05% 0.222 329.3)
XYZxyz(29.4462, 15.8493, 45.2154)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931B5 #31B935
analogous
#7931B9 #B931B5 #B93171
triadic
#B931B5 #B5B931 #31B5B9
tetradic
#B931B5 #B97931 #31B935 #3171B9
square
#B931B5 #B97931 #31B935 #3171B9
split-complementary
#B931B5 #71B931 #31B979
monochromatic
#581756 #892486 #B931B5 #D255CE #DF86DC

Accessibility & contrast

On white

5.04
#B931B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B931B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931B5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931B5#FFFFFF#000000##FFFFFF
##B931B51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B9
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#C04571
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b931b5;
/* rgb */ color: rgb(185, 49, 181);
/* oklch */ color: oklch(57.0% 0.222 329.3);
Tailwind
colors: {
  custom: {
    50: '#d277cc',
    500: '#b931b5',
    950: '#000000',
  },
}
SCSS
$custom: #b931b5;
$custom-light: #d277cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b931b5",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 301.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.22191,
    "h": 329.3
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#B931B5
secondary
#7DC880
accent
#E14B46
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B931B5

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

Preview Lab → · Contrast checker → · Palette generator →

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