#B131A4#B131A4

#B131A4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.205 H 332.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B131A4
RGBrgb(177, 49, 164)
HSLhsl(306, 57%, 44%)
HSVhsv(306, 72%, 69%)
CMYKcmyk(0%, 72.3%, 7.3%, 30.6%)
CIE-LABlab(44.56, 63.27, -34.52)
CIE-LCHlch(44.56, 72.08, 331.38°)
OKLaboklab(54.91% 0.182 -0.0948)
OKLCHoklch(54.91% 0.205 332.5)
XYZxyz(25.9307, 14.2262, 36.4950)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A4 #31B13E
analogous
#7E31B1 #B131A4 #B13164
triadic
#B131A4 #A4B131 #31A4B1
tetradic
#B131A4 #B17E31 #31B13E #3164B1
square
#B131A4 #B17E31 #31B13E #3164B1
split-complementary
#B131A4 #64B131 #31B17E
monochromatic
#51164B #812478 #B131A4 #CF51C2 #DC80D3

Accessibility & contrast

On white

5.46
#B131A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B131A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A4#FFFFFF#000000##FFFFFF
##B131A41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#B93E67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b131a4;
/* rgb */ color: rgb(177, 49, 164);
/* oklch */ color: oklch(54.9% 0.205 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc76bf',
    500: '#b131a4',
    950: '#000000',
  },
}
SCSS
$custom: #b131a4;
$custom-light: #cc76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a4",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 306.094,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.20517,
    "h": 332.5
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#B131A4
secondary
#79C581
accent
#E05748
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A4

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

Preview Lab → · Contrast checker → · Palette generator →

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