#B031A4#B031A4

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

Color values

HEX#B031A4
RGBrgb(176, 49, 164)
HSLhsl(306, 56%, 44%)
HSVhsv(306, 72%, 69%)
CMYKcmyk(0%, 72.2%, 6.8%, 31%)
CIE-LABlab(44.39, 63.04, -34.79)
CIE-LCHlch(44.39, 72.00, 331.10°)
OKLaboklab(54.76% 0.1809 -0.0956)
OKLCHoklch(54.76% 0.205 332.1)
XYZxyz(25.7037, 14.1092, 36.4843)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A4 #31B03D
analogous
#7D31B0 #B031A4 #B03165
triadic
#B031A4 #A4B031 #31A4B0
tetradic
#B031A4 #B07D31 #31B03D #3165B0
square
#B031A4 #B07D31 #31B03D #3165B0
split-complementary
#B031A4 #65B031 #31B07D
monochromatic
#50164B #802477 #B031A4 #CE50C2 #DC80D3

Accessibility & contrast

On white

5.50
#B031A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B031A4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A4#FFFFFF#000000##FFFFFF
##B031A41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA7
Deuteranopia (green-blind)
#5A6FA1
Tritanopia (blue-blind)
#B73F67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b031a4;
/* rgb */ color: rgb(176, 49, 164);
/* oklch */ color: oklch(54.8% 0.205 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb75bf',
    500: '#b031a4',
    950: '#000000',
  },
}
SCSS
$custom: #b031a4;
$custom-light: #cb75bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a4",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 305.669,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.20463,
    "h": 332.1
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#B031A4
secondary
#78C57F
accent
#E05648
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A4

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

Preview Lab → · Contrast checker → · Palette generator →

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