#B131A1#B131A1

#B131A1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.203 H 333.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B131A1
RGBrgb(177, 49, 161)
HSLhsl(308, 57%, 44%)
HSVhsv(308, 72%, 69%)
CMYKcmyk(0%, 72.3%, 9%, 30.6%)
CIE-LABlab(44.40, 62.81, -32.97)
CIE-LCHlch(44.40, 70.94, 332.30°)
OKLaboklab(54.75% 0.1818 -0.0903)
OKLCHoklch(54.75% 0.203 333.6)
XYZxyz(25.6630, 14.1191, 35.0850)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131A1 #31B141
analogous
#8131B1 #B131A1 #B13161
triadic
#B131A1 #A1B131 #31A1B1
tetradic
#B131A1 #B18131 #31B141 #3161B1
square
#B131A1 #B18131 #31B141 #3161B1
split-complementary
#B131A1 #61B131 #31B181
monochromatic
#51164A #812475 #B131A1 #CF51BF #DC80D1

Accessibility & contrast

On white

5.49
#B131A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B131A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131A1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131A1#FFFFFF#000000##FFFFFF
##B131A11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B93D66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b131a1;
/* rgb */ color: rgb(177, 49, 161);
/* oklch */ color: oklch(54.8% 0.203 333.6);
Tailwind
colors: {
  custom: {
    50: '#cc75bd',
    500: '#b131a1',
    950: '#000000',
  },
}
SCSS
$custom: #b131a1;
$custom-light: #cc75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b131a1",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 307.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.20297,
    "h": 333.6
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#B131A1
secondary
#79C582
accent
#E05B48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B131A1

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

Preview Lab → · Contrast checker → · Palette generator →

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