#B131A5#B131A5

#B131A5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.206 H 332.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B131A5
RGBrgb(177, 49, 165)
HSLhsl(306, 57%, 44%)
HSVhsv(306, 72%, 69%)
CMYKcmyk(0%, 72.3%, 6.8%, 30.6%)
CIE-LABlab(44.61, 63.43, -35.04)
CIE-LCHlch(44.61, 72.46, 331.08°)
OKLaboklab(54.96% 0.182 -0.0963)
OKLCHoklch(54.96% 0.206 332.1)
XYZxyz(26.0214, 14.2625, 36.9725)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A5 #31B13D
analogous
#7D31B1 #B131A5 #B13165
triadic
#B131A5 #A5B131 #31A5B1
tetradic
#B131A5 #B17D31 #31B13D #3165B1
square
#B131A5 #B17D31 #31B13D #3165B1
split-complementary
#B131A5 #65B131 #31B17D
monochromatic
#51164C #812478 #B131A5 #CF51C3 #DC80D3

Accessibility & contrast

On white

5.45
#B131A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B131A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A5#FFFFFF#000000##FFFFFF
##B131A51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#B93F68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b131a5;
/* rgb */ color: rgb(177, 49, 165);
/* oklch */ color: oklch(55.0% 0.206 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc76c0',
    500: '#b131a5',
    950: '#000000',
  },
}
SCSS
$custom: #b131a5;
$custom-light: #cc76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a5",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 305.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.2059,
    "h": 332.1
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#B131A5
secondary
#79C580
accent
#E05648
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A5

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

Preview Lab → · Contrast checker → · Palette generator →

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