#B131AA#B131AA

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

Color values

HEX#B131AA
RGBrgb(177, 49, 170)
HSLhsl(303, 57%, 44%)
HSVhsv(303, 72%, 69%)
CMYKcmyk(0%, 72.3%, 4%, 30.6%)
CIE-LABlab(44.87, 64.22, -37.59)
CIE-LCHlch(44.87, 74.41, 329.65°)
OKLaboklab(55.24% 0.1822 -0.1037)
OKLCHoklch(55.24% 0.21 330.4)
XYZxyz(26.4854, 14.4481, 39.4162)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B131AA #31B138
analogous
#7831B1 #B131AA #B1316A
triadic
#B131AA #AAB131 #31AAB1
tetradic
#B131AA #B17831 #31B138 #316AB1
square
#B131AA #B17831 #31B138 #316AB1
split-complementary
#B131AA #6AB131 #31B178
monochromatic
#51164E #81247C #B131AA #CF51C8 #DC80D7

Accessibility & contrast

On white

5.40
#B131AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B131AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B131AA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B131AA#FFFFFF#000000##FFFFFF
##B131AA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b131aa;
/* rgb */ color: rgb(177, 49, 170);
/* oklch */ color: oklch(55.2% 0.210 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc76c4',
    500: '#b131aa',
    950: '#000000',
  },
}
SCSS
$custom: #b131aa;
$custom-light: #cc76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b131aa",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 303.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.20964,
    "h": 330.4
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#B131AA
secondary
#79C57D
accent
#E05048
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B131AA

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

Preview Lab → · Contrast checker → · Palette generator →

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