#B431AE#B431AE

#B431AE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.214 H 330.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B431AE
RGBrgb(180, 49, 174)
HSLhsl(303, 57%, 45%)
HSVhsv(303, 73%, 71%)
CMYKcmyk(0%, 72.8%, 3.3%, 29.4%)
CIE-LABlab(45.58, 65.53, -38.81)
CIE-LCHlch(45.58, 76.16, 329.36°)
OKLaboklab(55.91% 0.1855 -0.1071)
OKLCHoklch(55.91% 0.214 330)
XYZxyz(27.5605, 14.9580, 41.4718)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431AE #31B437
analogous
#7831B4 #B431AE #B4316D
triadic
#B431AE #AEB431 #31AEB4
tetradic
#B431AE #B47831 #31B437 #316DB4
square
#B431AE #B47831 #31B437 #316DB4
split-complementary
#B431AE #6DB431 #31B478
monochromatic
#541751 #84247F #B431AE #D052CA #DD82D9

Accessibility & contrast

On white

5.26
#B431AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B431AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431AE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431AE#FFFFFF#000000##FFFFFF
##B431AE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#BB426D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b431ae;
/* rgb */ color: rgb(180, 49, 174);
/* oklch */ color: oklch(55.9% 0.214 330.0);
Tailwind
colors: {
  custom: {
    50: '#ce76c6',
    500: '#b431ae',
    950: '#000000',
  },
}
SCSS
$custom: #b431ae;
$custom-light: #ce76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b431ae",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 302.748,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.21419,
    "h": 330
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#B431AE
secondary
#7BC67E
accent
#E04E47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B431AE

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

Preview Lab → · Contrast checker → · Palette generator →

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