#B4309F#B4309F

#B4309F is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.204 H 335.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B4309F
RGBrgb(180, 48, 159)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 73.3%, 11.7%, 29.4%)
CIE-LABlab(44.69, 63.54, -31.29)
CIE-LCHlch(44.69, 70.83, 333.79°)
OKLaboklab(55.02% 0.1856 -0.0854)
OKLCHoklch(55.02% 0.204 335.3)
XYZxyz(26.1377, 14.3227, 34.1821)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309F #30B445
analogous
#8730B4 #B4309F #B4305D
triadic
#B4309F #9FB430 #309FB4
tetradic
#B4309F #B48730 #30B445 #305DB4
square
#B4309F #B48730 #30B445 #305DB4
split-complementary
#B4309F #5DB430 #30B487
monochromatic
#53164A #842374 #B4309F #D151BC #DD81CF

Accessibility & contrast

On white

5.43
#B4309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B4309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4309F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309F#FFFFFF#000000##FFFFFF
##B4309F1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#BD3A64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4309f;
/* rgb */ color: rgb(180, 48, 159);
/* oklch */ color: oklch(55.0% 0.204 335.3);
Tailwind
colors: {
  custom: {
    50: '#ce75bb',
    500: '#b4309f',
    950: '#000000',
  },
}
SCSS
$custom: #b4309f;
$custom-light: #ce75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 309.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.20432,
    "h": 335.3
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#B4309F
secondary
#79C686
accent
#E15F47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4309F

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

Preview Lab → · Contrast checker → · Palette generator →

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