#B54FA0#B54FA0

#B54FA0 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.5% C 0.164 H 336.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B54FA0
RGBrgb(181, 79, 160)
HSLhsl(312, 41%, 51%)
HSVhsv(312, 56%, 71%)
CMYKcmyk(0%, 56.4%, 11.6%, 29%)
CIE-LABlab(49.44, 51.39, -24.47)
CIE-LCHlch(49.44, 56.92, 334.54°)
OKLaboklab(58.53% 0.1497 -0.0663)
OKLCHoklch(58.53% 0.164 336.1)
XYZxyz(28.1974, 17.9559, 35.2316)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FA0 #4FB564
analogous
#974FB5 #B54FA0 #B54F6D
triadic
#B54FA0 #A0B54F #4FA0B5
tetradic
#B54FA0 #B5974F #4FB564 #4F6DB5
square
#B54FA0 #B5974F #4FB564 #4F6DB5
split-complementary
#B54FA0 #6DB54F #4FB597
monochromatic
#612955 #8C3B7B #B54FA0 #C77AB7 #D9A5CF

Accessibility & contrast

On white

4.57
#B54FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B54FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FA0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FA0#FFFFFF#000000##000000
##B54FA01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA3
Deuteranopia (green-blind)
#6E7B9D
Tritanopia (blue-blind)
#BD5470
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54fa0;
/* rgb */ color: rgb(181, 79, 160);
/* oklch */ color: oklch(58.5% 0.164 336.1);
Tailwind
colors: {
  custom: {
    50: '#ce85bc',
    500: '#b54fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b54fa0;
$custom-light: #ce85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fa0",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 312.353,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.16373,
    "h": 336.1
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#B54FA0
secondary
#99C6A3
accent
#D17057
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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