#B031A3#B031A3

#B031A3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.204 H 332.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B031A3
RGBrgb(176, 49, 163)
HSLhsl(306, 56%, 44%)
HSVhsv(306, 72%, 69%)
CMYKcmyk(0%, 72.2%, 7.4%, 31%)
CIE-LABlab(44.34, 62.88, -34.28)
CIE-LCHlch(44.34, 71.62, 331.40°)
OKLaboklab(54.7% 0.1809 -0.0941)
OKLCHoklch(54.7% 0.204 332.5)
XYZxyz(25.6138, 14.0732, 36.0106)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A3 #31B03E
analogous
#7E31B0 #B031A3 #B03164
triadic
#B031A3 #A3B031 #31A3B0
tetradic
#B031A3 #B07E31 #31B03E #3164B0
square
#B031A3 #B07E31 #31B03E #3164B0
split-complementary
#B031A3 #64B031 #31B07E
monochromatic
#50164A #802477 #B031A3 #CE50C1 #DC80D2

Accessibility & contrast

On white

5.51
#B031A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B031A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A3#FFFFFF#000000##FFFFFF
##B031A31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#B83E67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b031a3;
/* rgb */ color: rgb(176, 49, 163);
/* oklch */ color: oklch(54.7% 0.204 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb75be',
    500: '#b031a3',
    950: '#000000',
  },
}
SCSS
$custom: #b031a3;
$custom-light: #cb75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a3",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 306.142,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.20388,
    "h": 332.5
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#B031A3
secondary
#78C580
accent
#E05848
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A3

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

Preview Lab → · Contrast checker → · Palette generator →

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