#B931BE#B931BE

#B931BE is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.229 H 326.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B931BE
RGBrgb(185, 49, 190)
HSLhsl(298, 59%, 47%)
HSVhsv(298, 74%, 75%)
CMYKcmyk(2.6%, 74.2%, 0%, 25.5%)
CIE-LABlab(47.28, 69.20, -45.45)
CIE-LCHlch(47.28, 82.79, 326.70°)
OKLaboklab(57.57% 0.1907 -0.1263)
OKLCHoklch(57.57% 0.229 326.5)
XYZxyz(30.3996, 16.2307, 50.2369)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931BE #36BE31
analogous
#7231BE #B931BE #BE317D
triadic
#B931BE #BEB931 #31BEB9
tetradic
#B931BE #BE7231 #36BE31 #317DBE
square
#B931BE #BE7231 #36BE31 #317DBE
split-complementary
#B931BE #7DBE31 #31BE72
monochromatic
#5A185D #8A248D #B931BE #D058D4 #DD89E1

Accessibility & contrast

On white

4.95
#B931BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B931BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931BE#FFFFFF#000000##FFFFFF
##B931BE1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#BE4976
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b931be;
/* rgb */ color: rgb(185, 49, 190);
/* oklch */ color: oklch(57.6% 0.229 326.5);
Tailwind
colors: {
  custom: {
    50: '#d278d2',
    500: '#b931be',
    950: '#000000',
  },
}
SCSS
$custom: #b931be;
$custom-light: #d278d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b931be",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 297.872,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.22873,
    "h": 326.5
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#B931BE
secondary
#83CA80
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B931BE

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

Preview Lab → · Contrast checker → · Palette generator →

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