#B54EA2#B54EA2

#B54EA2 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.167 H 335.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B54EA2
RGBrgb(181, 78, 162)
HSLhsl(311, 41%, 51%)
HSVhsv(311, 57%, 71%)
CMYKcmyk(0%, 56.9%, 10.5%, 29%)
CIE-LABlab(49.35, 52.19, -25.79)
CIE-LCHlch(49.35, 58.21, 333.70°)
OKLaboklab(58.5% 0.1515 -0.07)
OKLCHoklch(58.5% 0.167 335.2)
XYZxyz(28.3022, 17.8833, 36.1366)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EA2 #4EB561
analogous
#944EB5 #B54EA2 #B54E6E
triadic
#B54EA2 #A2B54E #4EA2B5
tetradic
#B54EA2 #B5944E #4EB561 #4E6EB5
square
#B54EA2 #B5944E #4EB561 #4E6EB5
split-complementary
#B54EA2 #6EB54E #4EB594
monochromatic
#602856 #8B3A7D #B54EA2 #C779B9 #D9A4CF

Accessibility & contrast

On white

4.59
#B54EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B54EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B54EA2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EA2#FFFFFF#000000##FFFFFF
##B54EA21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#BD5471
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b54ea2;
/* rgb */ color: rgb(181, 78, 162);
/* oklch */ color: oklch(58.5% 0.167 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce85bd',
    500: '#b54ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b54ea2;
$custom-light: #ce85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ea2",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 311.068,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.16686,
    "h": 335.2
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#B54EA2
secondary
#99C6A1
accent
#D16D57
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B54EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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