#B031A1#B031A1

#B031A1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.202 H 333.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B031A1
RGBrgb(176, 49, 161)
HSLhsl(307, 56%, 44%)
HSVhsv(307, 72%, 69%)
CMYKcmyk(0%, 72.2%, 8.5%, 31%)
CIE-LABlab(44.24, 62.57, -33.25)
CIE-LCHlch(44.24, 70.86, 332.02°)
OKLaboklab(54.6% 0.1807 -0.0912)
OKLCHoklch(54.6% 0.202 333.2)
XYZxyz(25.4360, 14.0021, 35.0743)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A1 #31B040
analogous
#8031B0 #B031A1 #B03162
triadic
#B031A1 #A1B031 #31A1B0
tetradic
#B031A1 #B08031 #31B040 #3162B0
square
#B031A1 #B08031 #31B040 #3162B0
split-complementary
#B031A1 #62B031 #31B080
monochromatic
#501649 #802475 #B031A1 #CE50BF #DC80D1

Accessibility & contrast

On white

5.53
#B031A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B031A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A1#FFFFFF#000000##FFFFFF
##B031A11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#B83D66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b031a1;
/* rgb */ color: rgb(176, 49, 161);
/* oklch */ color: oklch(54.6% 0.202 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb75bd',
    500: '#b031a1',
    950: '#000000',
  },
}
SCSS
$custom: #b031a1;
$custom-light: #cb75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a1",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 307.087,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.20241,
    "h": 333.2
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#B031A1
secondary
#78C581
accent
#E05A48
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A1

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

Preview Lab → · Contrast checker → · Palette generator →

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