#B431AD#B431AD

#B431AD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.213 H 330.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B431AD
RGBrgb(180, 49, 173)
HSLhsl(303, 57%, 45%)
HSVhsv(303, 73%, 71%)
CMYKcmyk(0%, 72.8%, 3.9%, 29.4%)
CIE-LABlab(45.52, 65.37, -38.30)
CIE-LCHlch(45.52, 75.76, 329.63°)
OKLaboklab(55.85% 0.1854 -0.1057)
OKLCHoklch(55.85% 0.213 330.3)
XYZxyz(27.4634, 14.9192, 40.9603)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431AD #31B438
analogous
#7931B4 #B431AD #B4316C
triadic
#B431AD #ADB431 #31ADB4
tetradic
#B431AD #B47931 #31B438 #316CB4
square
#B431AD #B47931 #31B438 #316CB4
split-complementary
#B431AD #6CB431 #31B479
monochromatic
#541751 #84247F #B431AD #D052C9 #DD82D8

Accessibility & contrast

On white

5.27
#B431AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B431AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431AD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431AD#FFFFFF#000000##FFFFFF
##B431AD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#BB426C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b431ad;
/* rgb */ color: rgb(180, 49, 173);
/* oklch */ color: oklch(55.9% 0.213 330.3);
Tailwind
colors: {
  custom: {
    50: '#ce76c6',
    500: '#b431ad',
    950: '#000000',
  },
}
SCSS
$custom: #b431ad;
$custom-light: #ce76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b431ad",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 303.206,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.21343,
    "h": 330.3
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#B431AD
secondary
#7BC67F
accent
#E05047
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B431AD

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

Preview Lab → · Contrast checker → · Palette generator →

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