#B54EA0#B54EA0

#B54EA0 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.165 H 336.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B54EA0
RGBrgb(181, 78, 160)
HSLhsl(312, 41%, 51%)
HSVhsv(312, 57%, 71%)
CMYKcmyk(0%, 56.9%, 11.6%, 29%)
CIE-LABlab(49.27, 51.86, -24.74)
CIE-LCHlch(49.27, 57.46, 334.49°)
OKLaboklab(58.41% 0.1511 -0.067)
OKLCHoklch(58.41% 0.165 336.1)
XYZxyz(28.1258, 17.8127, 35.2077)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EA0 #4EB563
analogous
#964EB5 #B54EA0 #B54E6C
triadic
#B54EA0 #A0B54E #4EA0B5
tetradic
#B54EA0 #B5964E #4EB563 #4E6CB5
square
#B54EA0 #B5964E #4EB563 #4E6CB5
split-complementary
#B54EA0 #6CB54E #4EB596
monochromatic
#602855 #8B3A7B #B54EA0 #C779B7 #D9A4CE

Accessibility & contrast

On white

4.60
#B54EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B54EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54EA0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EA0#FFFFFF#000000##FFFFFF
##B54EA01.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#6E7B9D
Tritanopia (blue-blind)
#BD5370
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ea0;
/* rgb */ color: rgb(181, 78, 160);
/* oklch */ color: oklch(58.4% 0.165 336.1);
Tailwind
colors: {
  custom: {
    50: '#ce85bc',
    500: '#b54ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b54ea0;
$custom-light: #ce85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ea0",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 312.233,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.1653,
    "h": 336.1
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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