#B131A3#B131A3

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

Color values

HEX#B131A3
RGBrgb(177, 49, 163)
HSLhsl(307, 57%, 44%)
HSVhsv(307, 72%, 69%)
CMYKcmyk(0%, 72.3%, 7.9%, 30.6%)
CIE-LABlab(44.50, 63.12, -34.01)
CIE-LCHlch(44.50, 71.69, 331.69°)
OKLaboklab(54.86% 0.1819 -0.0933)
OKLCHoklch(54.86% 0.204 332.8)
XYZxyz(25.8408, 14.1902, 36.0212)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A3 #31B13F
analogous
#7F31B1 #B131A3 #B13163
triadic
#B131A3 #A3B131 #31A3B1
tetradic
#B131A3 #B17F31 #31B13F #3163B1
square
#B131A3 #B17F31 #31B13F #3163B1
split-complementary
#B131A3 #63B131 #31B17F
monochromatic
#51164B #812477 #B131A3 #CF51C1 #DC80D2

Accessibility & contrast

On white

5.47
#B131A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B131A3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A3#FFFFFF#000000##FFFFFF
##B131A31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b131a3;
/* rgb */ color: rgb(177, 49, 163);
/* oklch */ color: oklch(54.9% 0.204 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc76be',
    500: '#b131a3',
    950: '#000000',
  },
}
SCSS
$custom: #b131a3;
$custom-light: #cc76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a3",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 306.563,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.20443,
    "h": 332.8
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B131A3

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

Preview Lab → · Contrast checker → · Palette generator →

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