#B031A5#B031A5

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

Color values

HEX#B031A5
RGBrgb(176, 49, 165)
HSLhsl(305, 56%, 44%)
HSVhsv(305, 72%, 69%)
CMYKcmyk(0%, 72.2%, 6.2%, 31%)
CIE-LABlab(44.44, 63.20, -35.31)
CIE-LCHlch(44.44, 72.39, 330.81°)
OKLaboklab(54.81% 0.181 -0.0971)
OKLCHoklch(54.81% 0.205 331.8)
XYZxyz(25.7944, 14.1454, 36.9618)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A5 #31B03C
analogous
#7C31B0 #B031A5 #B03166
triadic
#B031A5 #A5B031 #31A5B0
tetradic
#B031A5 #B07C31 #31B03C #3166B0
square
#B031A5 #B07C31 #31B03C #3166B0
split-complementary
#B031A5 #66B031 #31B07C
monochromatic
#50164B #802478 #B031A5 #CE50C3 #DC80D4

Accessibility & contrast

On white

5.49
#B031A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B031A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A5#FFFFFF#000000##FFFFFF
##B031A51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#B73F68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b031a5;
/* rgb */ color: rgb(176, 49, 165);
/* oklch */ color: oklch(54.8% 0.205 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb76c0',
    500: '#b031a5',
    950: '#000000',
  },
}
SCSS
$custom: #b031a5;
$custom-light: #cb76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a5",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 305.197,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.20537,
    "h": 331.8
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B031A5

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

Preview Lab → · Contrast checker → · Palette generator →

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