#B431AA#B431AA

#B431AA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.211 H 331.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B431AA
RGBrgb(180, 49, 170)
HSLhsl(305, 57%, 45%)
HSVhsv(305, 73%, 71%)
CMYKcmyk(0%, 72.8%, 5.6%, 29.4%)
CIE-LABlab(45.37, 64.89, -36.78)
CIE-LCHlch(45.37, 74.59, 330.46°)
OKLaboklab(55.69% 0.1853 -0.1013)
OKLCHoklch(55.69% 0.211 331.4)
XYZxyz(27.1764, 14.8044, 39.4486)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431AA #31B43B
analogous
#7C31B4 #B431AA #B43169
triadic
#B431AA #AAB431 #31AAB4
tetradic
#B431AA #B47C31 #31B43B #3169B4
square
#B431AA #B47C31 #31B43B #3169B4
split-complementary
#B431AA #69B431 #31B47C
monochromatic
#54174F #84247D #B431AA #D052C6 #DD82D6

Accessibility & contrast

On white

5.30
#B431AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B431AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431AA#FFFFFF#000000##FFFFFF
##B431AA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#BB416A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b431aa;
/* rgb */ color: rgb(180, 49, 170);
/* oklch */ color: oklch(55.7% 0.211 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce76c4',
    500: '#b431aa',
    950: '#000000',
  },
}
SCSS
$custom: #b431aa;
$custom-light: #ce76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b431aa",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 304.58,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.21119,
    "h": 331.4
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#B431AA
secondary
#7BC680
accent
#E05347
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B431AA

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

Preview Lab → · Contrast checker → · Palette generator →

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