#B031AC#B031AC

#B031AC is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.211 H 329.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B031AC
RGBrgb(176, 49, 172)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 72%, 69%)
CMYKcmyk(0%, 72.2%, 2.3%, 31%)
CIE-LABlab(44.81, 64.31, -38.88)
CIE-LCHlch(44.81, 75.15, 328.85°)
OKLaboklab(55.2% 0.1812 -0.1074)
OKLCHoklch(55.2% 0.211 329.3)
XYZxyz(26.4490, 14.4073, 40.4096)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031AC #31B035
analogous
#7531B0 #B031AC #B0316D
triadic
#B031AC #ACB031 #31ACB0
tetradic
#B031AC #B07531 #31B035 #316DB0
square
#B031AC #B07531 #31B035 #316DB0
split-complementary
#B031AC #6DB031 #31B075
monochromatic
#50164E #80247D #B031AC #CE50CA #DC80D9

Accessibility & contrast

On white

5.41
#B031AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B031AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031AC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031AC#FFFFFF#000000##FFFFFF
##B031AC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B6436C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b031ac;
/* rgb */ color: rgb(176, 49, 172);
/* oklch */ color: oklch(55.2% 0.211 329.3);
Tailwind
colors: {
  custom: {
    50: '#cb76c5',
    500: '#b031ac',
    950: '#000000',
  },
}
SCSS
$custom: #b031ac;
$custom-light: #cb76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b031ac",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 301.89,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.21066,
    "h": 329.3
  },
  "luminance": 0.14405
}

Semantic roles & 50–950 ramp

primary
#B031AC
secondary
#78C57B
accent
#E04D48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B031AC

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

Preview Lab → · Contrast checker → · Palette generator →

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