#B031A9#B031A9

#B031A9 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.208 H 330.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B031A9
RGBrgb(176, 49, 169)
HSLhsl(303, 56%, 44%)
HSVhsv(303, 72%, 69%)
CMYKcmyk(0%, 72.2%, 4%, 31%)
CIE-LABlab(44.65, 63.83, -37.36)
CIE-LCHlch(44.65, 73.96, 329.66°)
OKLaboklab(55.03% 0.1811 -0.103)
OKLCHoklch(55.03% 0.208 330.4)
XYZxyz(26.1641, 14.2933, 38.9093)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A9 #31B038
analogous
#7831B0 #B031A9 #B0316A
triadic
#B031A9 #A9B031 #31A9B0
tetradic
#B031A9 #B07831 #31B038 #316AB0
square
#B031A9 #B07831 #31B038 #316AB0
split-complementary
#B031A9 #6AB031 #31B078
monochromatic
#50164D #80247B #B031A9 #CE50C7 #DC80D7

Accessibility & contrast

On white

5.44
#B031A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B031A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A9#FFFFFF#000000##FFFFFF
##B031A91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAC
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#B7416A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b031a9;
/* rgb */ color: rgb(176, 49, 169);
/* oklch */ color: oklch(55.0% 0.208 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb76c3',
    500: '#b031a9',
    950: '#000000',
  },
}
SCSS
$custom: #b031a9;
$custom-light: #cb76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a9",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 303.307,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.20838,
    "h": 330.4
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#B031A9
secondary
#78C57C
accent
#E05048
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A9

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

Preview Lab → · Contrast checker → · Palette generator →

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