#B031AA#B031AA

#B031AA is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.209 H 330.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B031AA
RGBrgb(176, 49, 170)
HSLhsl(303, 56%, 44%)
HSVhsv(303, 72%, 69%)
CMYKcmyk(0%, 72.2%, 3.4%, 31%)
CIE-LABlab(44.70, 63.99, -37.86)
CIE-LCHlch(44.70, 74.36, 329.39°)
OKLaboklab(55.09% 0.1812 -0.1045)
OKLCHoklch(55.09% 0.209 330)
XYZxyz(26.2584, 14.3310, 39.4056)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B031AA #31B037
analogous
#7731B0 #B031AA #B0316B
triadic
#B031AA #AAB031 #31AAB0
tetradic
#B031AA #B07731 #31B037 #316BB0
square
#B031AA #B07731 #31B037 #316BB0
split-complementary
#B031AA #6BB031 #31B077
monochromatic
#50164E #80247C #B031AA #CE50C8 #DC80D7

Accessibility & contrast

On white

5.43
#B031AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B031AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B031AA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B031AA#FFFFFF#000000##FFFFFF
##B031AA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B7426A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b031aa;
/* rgb */ color: rgb(176, 49, 170);
/* oklch */ color: oklch(55.1% 0.209 330.0);
Tailwind
colors: {
  custom: {
    50: '#cb76c4',
    500: '#b031aa',
    950: '#000000',
  },
}
SCSS
$custom: #b031aa;
$custom-light: #cb76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b031aa",
  "rgb": {
    "r": 176,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 302.835,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.20913,
    "h": 330
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B031AA

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

Preview Lab → · Contrast checker → · Palette generator →

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