#B031A6#B031A6

#B031A6 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.206 H 331.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B031A6
RGBrgb(176, 49, 166)
HSLhsl(305, 56%, 44%)
HSVhsv(305, 72%, 69%)
CMYKcmyk(0%, 72.2%, 5.7%, 31%)
CIE-LABlab(44.49, 63.35, -35.82)
CIE-LCHlch(44.49, 72.78, 330.51°)
OKLaboklab(54.87% 0.181 -0.0986)
OKLCHoklch(54.87% 0.206 331.4)
XYZxyz(25.8857, 14.1820, 37.4430)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031A6 #31B03B
analogous
#7B31B0 #B031A6 #B03167
triadic
#B031A6 #A6B031 #31A6B0
tetradic
#B031A6 #B07B31 #31B03B #3167B0
square
#B031A6 #B07B31 #31B03B #3167B0
split-complementary
#B031A6 #67B031 #31B07B
monochromatic
#50164C #802479 #B031A6 #CE50C4 #DC80D4

Accessibility & contrast

On white

5.47
#B031A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B031A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031A6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031A6#FFFFFF#000000##FFFFFF
##B031A61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#596FA3
Tritanopia (blue-blind)
#B74068
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b031a6;
/* rgb */ color: rgb(176, 49, 166);
/* oklch */ color: oklch(54.9% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb76c1',
    500: '#b031a6',
    950: '#000000',
  },
}
SCSS
$custom: #b031a6;
$custom-light: #cb76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b031a6",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 304.724,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.20612,
    "h": 331.4
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#B031A6
secondary
#78C57E
accent
#E05448
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B031A6

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

Preview Lab → · Contrast checker → · Palette generator →

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