#B131A8#B131A8

#B131A8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.208 H 331.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B131A8
RGBrgb(177, 49, 168)
HSLhsl(304, 57%, 44%)
HSVhsv(304, 72%, 69%)
CMYKcmyk(0%, 72.3%, 5.1%, 30.6%)
CIE-LABlab(44.76, 63.90, -36.57)
CIE-LCHlch(44.76, 73.62, 330.21°)
OKLaboklab(55.13% 0.1821 -0.1007)
OKLCHoklch(55.13% 0.208 331.1)
XYZxyz(26.2976, 14.3730, 38.4274)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A8 #31B13A
analogous
#7A31B1 #B131A8 #B13168
triadic
#B131A8 #A8B131 #31A8B1
tetradic
#B131A8 #B17A31 #31B13A #3168B1
square
#B131A8 #B17A31 #31B13A #3168B1
split-complementary
#B131A8 #68B131 #31B17A
monochromatic
#51164D #81247B #B131A8 #CF51C6 #DC80D6

Accessibility & contrast

On white

5.42
#B131A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B131A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A8#FFFFFF#000000##FFFFFF
##B131A81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#B84069
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b131a8;
/* rgb */ color: rgb(177, 49, 168);
/* oklch */ color: oklch(55.1% 0.208 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc76c2',
    500: '#b131a8',
    950: '#000000',
  },
}
SCSS
$custom: #b131a8;
$custom-light: #cc76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a8",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 304.219,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.20814,
    "h": 331.1
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B131A8

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

Preview Lab → · Contrast checker → · Palette generator →

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