#B131A9#B131A9

#B131A9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.209 H 330.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B131A9
RGBrgb(177, 49, 169)
HSLhsl(304, 57%, 44%)
HSVhsv(304, 72%, 69%)
CMYKcmyk(0%, 72.3%, 4.5%, 30.6%)
CIE-LABlab(44.82, 64.06, -37.08)
CIE-LCHlch(44.82, 74.02, 329.93°)
OKLaboklab(55.18% 0.1822 -0.1022)
OKLCHoklch(55.18% 0.209 330.7)
XYZxyz(26.3911, 14.4104, 38.9199)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A9 #31B139
analogous
#7931B1 #B131A9 #B13169
triadic
#B131A9 #A9B131 #31A9B1
tetradic
#B131A9 #B17931 #31B139 #3169B1
square
#B131A9 #B17931 #31B139 #3169B1
split-complementary
#B131A9 #69B131 #31B179
monochromatic
#51164D #81247B #B131A9 #CF51C7 #DC80D6

Accessibility & contrast

On white

5.41
#B131A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B131A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A9#FFFFFF#000000##FFFFFF
##B131A91.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAC
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#B8416A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b131a9;
/* rgb */ color: rgb(177, 49, 169);
/* oklch */ color: oklch(55.2% 0.209 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc76c3',
    500: '#b131a9',
    950: '#000000',
  },
}
SCSS
$custom: #b131a9;
$custom-light: #cc76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a9",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 303.75,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.20889,
    "h": 330.7
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#B131A9
secondary
#79C57E
accent
#E05148
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A9

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

Preview Lab → · Contrast checker → · Palette generator →

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