#B431B4#B431B4

#B431B4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.219 H 328.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B431B4
RGBrgb(180, 49, 180)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 73%, 71%)
CMYKcmyk(0%, 72.8%, 0%, 29.4%)
CIE-LABlab(45.90, 66.50, -41.83)
CIE-LCHlch(45.90, 78.56, 327.83°)
OKLaboklab(56.25% 0.1855 -0.1159)
OKLCHoklch(56.25% 0.219 328)
XYZxyz(28.1586, 15.1973, 44.6214)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431B4 #31B431
analogous
#7331B4 #B431B4 #B43173
triadic
#B431B4 #B4B431 #31B4B4
tetradic
#B431B4 #B47331 #31B431 #3173B4
square
#B431B4 #B47331 #31B431 #3173B4
split-complementary
#B431B4 #73B431 #31B473
monochromatic
#541754 #842484 #B431B4 #D052D0 #DD82DD

Accessibility & contrast

On white

5.20
#B431B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B431B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431B4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431B4#FFFFFF#000000##FFFFFF
##B431B41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#BA4570
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b431b4;
/* rgb */ color: rgb(180, 49, 180);
/* oklch */ color: oklch(56.2% 0.219 328.0);
Tailwind
colors: {
  custom: {
    50: '#ce77cb',
    500: '#b431b4',
    950: '#000000',
  },
}
SCSS
$custom: #b431b4;
$custom-light: #ce77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b431b4",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.21874,
    "h": 328
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#B431B4
secondary
#7BC67B
accent
#E04747
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B431B4

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

Preview Lab → · Contrast checker → · Palette generator →

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