#B431B9#B431B9

#B431B9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.223 H 326.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B431B9
RGBrgb(180, 49, 185)
HSLhsl(298, 58%, 46%)
HSVhsv(298, 74%, 73%)
CMYKcmyk(2.7%, 73.5%, 0%, 27.5%)
CIE-LABlab(46.18, 67.32, -44.31)
CIE-LCHlch(46.18, 80.60, 326.64°)
OKLaboklab(56.54% 0.1855 -0.1231)
OKLCHoklch(56.54% 0.223 326.4)
XYZxyz(28.6771, 15.4047, 47.3525)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431B9 #36B931
analogous
#7031B9 #B431B9 #B9317A
triadic
#B431B9 #B9B431 #31B9B4
tetradic
#B431B9 #B97031 #36B931 #317AB9
square
#B431B9 #B97031 #36B931 #317AB9
split-complementary
#B431B9 #7AB931 #31B970
monochromatic
#561758 #852489 #B431B9 #CD55D2 #DC86DF

Accessibility & contrast

On white

5.15
#B431B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B431B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431B9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431B9#FFFFFF#000000##FFFFFF
##B431B91.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0863BD
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#B94873
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b431b9;
/* rgb */ color: rgb(180, 49, 185);
/* oklch */ color: oklch(56.5% 0.223 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce77ce',
    500: '#b431b9',
    950: '#000000',
  },
}
SCSS
$custom: #b431b9;
$custom-light: #ce77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b431b9",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 297.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.2226,
    "h": 326.4
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#B431B9
secondary
#80C87D
accent
#E1464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B431B9

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

Preview Lab → · Contrast checker → · Palette generator →

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