#B54FA4#B54FA4

#B54FA4 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.167 H 334.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B54FA4
RGBrgb(181, 79, 164)
HSLhsl(310, 41%, 51%)
HSVhsv(310, 56%, 71%)
CMYKcmyk(0%, 56.4%, 9.4%, 29%)
CIE-LABlab(49.61, 52.05, -26.57)
CIE-LCHlch(49.61, 58.43, 332.96°)
OKLaboklab(58.72% 0.1505 -0.0722)
OKLCHoklch(58.72% 0.167 334.4)
XYZxyz(28.5530, 18.0981, 37.1042)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FA4 #4FB560
analogous
#934FB5 #B54FA4 #B54F71
triadic
#B54FA4 #A4B54F #4FA4B5
tetradic
#B54FA4 #B5934F #4FB560 #4F71B5
square
#B54FA4 #B5934F #4FB560 #4F71B5
split-complementary
#B54FA4 #71B54F #4FB593
monochromatic
#612958 #8C3B7E #B54FA4 #C77ABA #D9A5D1

Accessibility & contrast

On white

4.55
#B54FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B54FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FA4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FA4#FFFFFF#000000##000000
##B54FA41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA7
Deuteranopia (green-blind)
#6D7BA1
Tritanopia (blue-blind)
#BD5572
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54fa4;
/* rgb */ color: rgb(181, 79, 164);
/* oklch */ color: oklch(58.7% 0.167 334.4);
Tailwind
colors: {
  custom: {
    50: '#ce85bf',
    500: '#b54fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b54fa4;
$custom-light: #ce85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fa4",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 310,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.16689,
    "h": 334.4
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#B54FA4
secondary
#99C6A1
accent
#D16B57
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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