#B131AC#B131AC

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

Color values

HEX#B131AC
RGBrgb(177, 49, 172)
HSLhsl(302, 57%, 44%)
HSVhsv(302, 72%, 69%)
CMYKcmyk(0%, 72.3%, 2.8%, 30.6%)
CIE-LABlab(44.98, 64.54, -38.61)
CIE-LCHlch(44.98, 75.20, 329.11°)
OKLaboklab(55.35% 0.1823 -0.1066)
OKLCHoklch(55.35% 0.211 329.7)
XYZxyz(26.6760, 14.5243, 40.4202)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131AC #31B136
analogous
#7631B1 #B131AC #B1316C
triadic
#B131AC #ACB131 #31ACB1
tetradic
#B131AC #B17631 #31B136 #316CB1
square
#B131AC #B17631 #31B136 #316CB1
split-complementary
#B131AC #6CB131 #31B176
monochromatic
#51164F #81247D #B131AC #CF51CA #DC80D8

Accessibility & contrast

On white

5.38
#B131AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B131AC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131AC#FFFFFF#000000##FFFFFF
##B131AC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#B7426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b131ac;
/* rgb */ color: rgb(177, 49, 172);
/* oklch */ color: oklch(55.3% 0.211 329.7);
Tailwind
colors: {
  custom: {
    50: '#cc76c5',
    500: '#b131ac',
    950: '#000000',
  },
}
SCSS
$custom: #b131ac;
$custom-light: #cc76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b131ac",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 302.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.21117,
    "h": 329.7
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B131AC

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

Preview Lab → · Contrast checker → · Palette generator →

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