#B131B4#B131B4

#B131B4 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.217 H 327.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B131B4
RGBrgb(177, 49, 180)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.7%, 72.8%, 0%, 29.4%)
CIE-LABlab(45.42, 65.85, -42.63)
CIE-LCHlch(45.42, 78.44, 327.08°)
OKLaboklab(55.8% 0.1823 -0.1183)
OKLCHoklch(55.8% 0.217 327)
XYZxyz(27.4675, 14.8409, 44.5890)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131B4 #34B431
analogous
#7031B4 #B131B4 #B43175
triadic
#B131B4 #B4B131 #31B4B1
tetradic
#B131B4 #B47031 #34B431 #3175B4
square
#B131B4 #B47031 #34B431 #3175B4
split-complementary
#B131B4 #75B431 #31B470
monochromatic
#521754 #822484 #B131B4 #CD52D0 #DB82DD

Accessibility & contrast

On white

5.29
#B131B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B131B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131B4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131B4#FFFFFF#000000##FFFFFF
##B131B41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#B64670
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b131b4;
/* rgb */ color: rgb(177, 49, 180);
/* oklch */ color: oklch(55.8% 0.217 327.0);
Tailwind
colors: {
  custom: {
    50: '#cc76cb',
    500: '#b131b4',
    950: '#000000',
  },
}
SCSS
$custom: #b131b4;
$custom-light: #cc76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b131b4",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 298.626,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.21732,
    "h": 327
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#B131B4
secondary
#7CC67B
accent
#E0474B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131B4

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

Preview Lab → · Contrast checker → · Palette generator →

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