#B431A0#B431A0

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

Color values

HEX#B431A0
RGBrgb(180, 49, 160)
HSLhsl(309, 57%, 45%)
HSVhsv(309, 73%, 71%)
CMYKcmyk(0%, 72.8%, 11.1%, 29.4%)
CIE-LABlab(44.86, 63.36, -31.62)
CIE-LCHlch(44.86, 70.81, 333.48°)
OKLaboklab(55.16% 0.1847 -0.0864)
OKLCHoklch(55.16% 0.204 334.9)
XYZxyz(26.2662, 14.4403, 34.6548)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431A0 #31B445
analogous
#8631B4 #B431A0 #B4315F
triadic
#B431A0 #A0B431 #31A0B4
tetradic
#B431A0 #B48631 #31B445 #315FB4
square
#B431A0 #B48631 #31B445 #315FB4
split-complementary
#B431A0 #5FB431 #31B486
monochromatic
#54174A #842475 #B431A0 #D052BD #DD82CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B431A0#FFFFFF#000000##FFFFFF
##B431A01.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)
#305EA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#BD3C65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b431a0;
/* rgb */ color: rgb(180, 49, 160);
/* oklch */ color: oklch(55.2% 0.204 334.9);
Tailwind
colors: {
  custom: {
    50: '#ce76bc',
    500: '#b431a0',
    950: '#000000',
  },
}
SCSS
$custom: #b431a0;
$custom-light: #ce76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b431a0",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 309.16,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.20393,
    "h": 334.9
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#B431A0
secondary
#7BC686
accent
#E05F47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B431A0

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

Preview Lab → · Contrast checker → · Palette generator →

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