#B031A0#B031A0

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

Color values

HEX#B031A0
RGBrgb(176, 49, 160)
HSLhsl(308, 56%, 44%)
HSVhsv(308, 72%, 69%)
CMYKcmyk(0%, 72.2%, 9.1%, 31%)
CIE-LABlab(44.19, 62.42, -32.73)
CIE-LCHlch(44.19, 70.48, 332.33°)
OKLaboklab(54.55% 0.1807 -0.0897)
OKLCHoklch(54.55% 0.202 333.6)
XYZxyz(25.3482, 13.9669, 34.6118)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A0 #31B041
analogous
#8131B0 #B031A0 #B03161
triadic
#B031A0 #A0B031 #31A0B0
tetradic
#B031A0 #B08131 #31B041 #3161B0
square
#B031A0 #B08131 #31B041 #3161B0
split-complementary
#B031A0 #61B031 #31B081
monochromatic
#501649 #802474 #B031A0 #CE50BE #DC80D0

Accessibility & contrast

On white

5.54
#B031A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B031A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A0#FFFFFF#000000##FFFFFF
##B031A01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#B83D65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b031a0;
/* rgb */ color: rgb(176, 49, 160);
/* oklch */ color: oklch(54.5% 0.202 333.6);
Tailwind
colors: {
  custom: {
    50: '#cb75bc',
    500: '#b031a0',
    950: '#000000',
  },
}
SCSS
$custom: #b031a0;
$custom-light: #cb75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a0",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 307.559,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.20168,
    "h": 333.6
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#B031A0
secondary
#78C582
accent
#E05B48
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A0

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

Preview Lab → · Contrast checker → · Palette generator →

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