#B131A2#B131A2

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

Color values

HEX#B131A2
RGBrgb(177, 49, 162)
HSLhsl(307, 57%, 44%)
HSVhsv(307, 72%, 69%)
CMYKcmyk(0%, 72.3%, 8.5%, 30.6%)
CIE-LABlab(44.45, 62.96, -33.49)
CIE-LCHlch(44.45, 71.31, 331.99°)
OKLaboklab(54.8% 0.1818 -0.0918)
OKLCHoklch(54.8% 0.204 333.2)
XYZxyz(25.7515, 14.1545, 35.5512)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A2 #31B140
analogous
#8031B1 #B131A2 #B13162
triadic
#B131A2 #A2B131 #31A2B1
tetradic
#B131A2 #B18031 #31B140 #3162B1
square
#B131A2 #B18031 #31B140 #3162B1
split-complementary
#B131A2 #62B131 #31B180
monochromatic
#51164A #812476 #B131A2 #CF51C0 #DC80D1

Accessibility & contrast

On white

5.48
#B131A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B131A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A2#FFFFFF#000000##FFFFFF
##B131A21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#5B709F
Tritanopia (blue-blind)
#B93E66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b131a2;
/* rgb */ color: rgb(177, 49, 162);
/* oklch */ color: oklch(54.8% 0.204 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc76be',
    500: '#b131a2',
    950: '#000000',
  },
}
SCSS
$custom: #b131a2;
$custom-light: #cc76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a2",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 307.031,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.2037,
    "h": 333.2
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#B131A2
secondary
#79C582
accent
#E05A48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A2

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

Preview Lab → · Contrast checker → · Palette generator →

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