#B131AB#B131AB

#B131AB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.210 H 330.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B131AB
RGBrgb(177, 49, 171)
HSLhsl(303, 57%, 44%)
HSVhsv(303, 72%, 69%)
CMYKcmyk(0%, 72.3%, 3.4%, 30.6%)
CIE-LABlab(44.92, 64.38, -38.10)
CIE-LCHlch(44.92, 74.81, 329.38°)
OKLaboklab(55.29% 0.1822 -0.1052)
OKLCHoklch(55.29% 0.21 330)
XYZxyz(26.5803, 14.4861, 39.9163)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131AB #31B137
analogous
#7731B1 #B131AB #B1316B
triadic
#B131AB #ABB131 #31ABB1
tetradic
#B131AB #B17731 #31B137 #316BB1
square
#B131AB #B17731 #31B137 #316BB1
split-complementary
#B131AB #6BB131 #31B177
monochromatic
#51164E #81247D #B131AB #CF51C9 #DC80D8

Accessibility & contrast

On white

5.39
#B131AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B131AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131AB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131AB#FFFFFF#000000##FFFFFF
##B131AB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#B8426B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b131ab;
/* rgb */ color: rgb(177, 49, 171);
/* oklch */ color: oklch(55.3% 0.210 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc76c4',
    500: '#b131ab',
    950: '#000000',
  },
}
SCSS
$custom: #b131ab;
$custom-light: #cc76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b131ab",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 302.813,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55292,
    "c": 0.2104,
    "h": 330
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#B131AB
secondary
#79C57C
accent
#E04F48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B131AB

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

Preview Lab → · Contrast checker → · Palette generator →

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