#B431B3#B431B3

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

Color values

HEX#B431B3
RGBrgb(180, 49, 179)
HSLhsl(300, 57%, 45%)
HSVhsv(300, 73%, 71%)
CMYKcmyk(0%, 72.8%, 0.6%, 29.4%)
CIE-LABlab(45.85, 66.33, -41.33)
CIE-LCHlch(45.85, 78.15, 328.08°)
OKLaboklab(56.19% 0.1855 -0.1144)
OKLCHoklch(56.19% 0.218 328.3)
XYZxyz(28.0571, 15.1567, 44.0869)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431B3 #31B432
analogous
#7431B4 #B431B3 #B43172
triadic
#B431B3 #B3B431 #31B3B4
tetradic
#B431B3 #B47431 #31B432 #3172B4
square
#B431B3 #B47431 #31B432 #3172B4
split-complementary
#B431B3 #72B431 #31B474
monochromatic
#541753 #842483 #B431B3 #D052CF #DD82DC

Accessibility & contrast

On white

5.21
#B431B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B431B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431B3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431B3#FFFFFF#000000##FFFFFF
##B431B31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B7
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#BA456F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b431b3;
/* rgb */ color: rgb(180, 49, 179);
/* oklch */ color: oklch(56.2% 0.218 328.3);
Tailwind
colors: {
  custom: {
    50: '#ce77ca',
    500: '#b431b3',
    950: '#000000',
  },
}
SCSS
$custom: #b431b3;
$custom-light: #ce77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b431b3",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 300.458,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.21798,
    "h": 328.3
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B431B3

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

Preview Lab → · Contrast checker → · Palette generator →

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