#B54EA4#B54EA4

#B54EA4 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.6% C 0.168 H 334.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B54EA4
RGBrgb(181, 78, 164)
HSLhsl(310, 41%, 51%)
HSVhsv(310, 57%, 71%)
CMYKcmyk(0%, 56.9%, 9.4%, 29%)
CIE-LABlab(49.44, 52.51, -26.84)
CIE-LCHlch(49.44, 58.97, 332.93°)
OKLaboklab(58.59% 0.1518 -0.073)
OKLCHoklch(58.59% 0.168 334.3)
XYZxyz(28.4814, 17.9549, 37.0803)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EA4 #4EB55F
analogous
#924EB5 #B54EA4 #B54E70
triadic
#B54EA4 #A4B54E #4EA4B5
tetradic
#B54EA4 #B5924E #4EB55F #4E70B5
square
#B54EA4 #B5924E #4EB55F #4E70B5
split-complementary
#B54EA4 #70B54E #4EB592
monochromatic
#602857 #8B3A7E #B54EA4 #C779BA #D9A4D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54EA4#FFFFFF#000000##000000
##B54EA41.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)
#4D6CA7
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#BD5472
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54ea4;
/* rgb */ color: rgb(181, 78, 164);
/* oklch */ color: oklch(58.6% 0.168 334.3);
Tailwind
colors: {
  custom: {
    50: '#ce85bf',
    500: '#b54ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b54ea4;
$custom-light: #ce85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ea4",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 309.903,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.16845,
    "h": 334.3
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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