#B431A3#B431A3

#B431A3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.206 H 333.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B431A3
RGBrgb(180, 49, 163)
HSLhsl(308, 57%, 45%)
HSVhsv(308, 73%, 71%)
CMYKcmyk(0%, 72.8%, 9.4%, 29.4%)
CIE-LABlab(45.01, 63.81, -33.18)
CIE-LCHlch(45.01, 71.92, 332.53°)
OKLaboklab(55.31% 0.185 -0.0909)
OKLCHoklch(55.31% 0.206 333.8)
XYZxyz(26.5318, 14.5465, 36.0536)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431A3 #31B442
analogous
#8331B4 #B431A3 #B43162
triadic
#B431A3 #A3B431 #31A3B4
tetradic
#B431A3 #B48331 #31B442 #3162B4
square
#B431A3 #B48331 #31B442 #3162B4
split-complementary
#B431A3 #62B431 #31B483
monochromatic
#54174C #842477 #B431A3 #D052C0 #DD82D1

Accessibility & contrast

On white

5.37
#B431A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B431A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431A3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431A3#FFFFFF#000000##FFFFFF
##B431A31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#BC3D67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b431a3;
/* rgb */ color: rgb(180, 49, 163);
/* oklch */ color: oklch(55.3% 0.206 333.8);
Tailwind
colors: {
  custom: {
    50: '#ce76be',
    500: '#b431a3',
    950: '#000000',
  },
}
SCSS
$custom: #b431a3;
$custom-light: #ce76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b431a3",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 307.786,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.20608,
    "h": 333.8
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#B431A3
secondary
#7BC684
accent
#E05B47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B431A3

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

Preview Lab → · Contrast checker → · Palette generator →

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