#B54EB0#B54EB0

#B54EB0 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.178 H 329.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B54EB0
RGBrgb(181, 78, 176)
HSLhsl(303, 41%, 51%)
HSVhsv(303, 57%, 71%)
CMYKcmyk(0%, 56.9%, 2.8%, 29%)
CIE-LABlab(49.99, 54.54, -33.03)
CIE-LCHlch(49.99, 63.76, 328.80°)
OKLaboklab(59.17% 0.1536 -0.0907)
OKLCHoklch(59.17% 0.178 329.5)
XYZxyz(29.6166, 18.4090, 43.0592)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EB0 #4EB553
analogous
#864EB5 #B54EB0 #B54E7C
triadic
#B54EB0 #B0B54E #4EB0B5
tetradic
#B54EB0 #B5864E #4EB553 #4E7CB5
square
#B54EB0 #B5864E #4EB553 #4E7CB5
split-complementary
#B54EB0 #7CB54E #4EB586
monochromatic
#60285E #8B3A88 #B54EB0 #C779C3 #D9A4D7

Accessibility & contrast

On white

4.49
#B54EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B54EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EB0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EB0#FFFFFF#000000##000000
##B54EB01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#677CAD
Tritanopia (blue-blind)
#BB5978
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54eb0;
/* rgb */ color: rgb(181, 78, 176);
/* oklch */ color: oklch(59.2% 0.178 329.5);
Tailwind
colors: {
  custom: {
    50: '#ce85c8',
    500: '#b54eb0',
    950: '#000000',
  },
}
SCSS
$custom: #b54eb0;
$custom-light: #ce85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54eb0",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 302.913,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.1784,
    "h": 329.5
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#B54EB0
secondary
#99C69B
accent
#D15D57
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B54EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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