#B54FBA#B54FBA

#B54FBA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.186 H 325.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B54FBA
RGBrgb(181, 79, 186)
HSLhsl(297, 44%, 52%)
HSVhsv(297, 58%, 73%)
CMYKcmyk(2.7%, 57.5%, 0%, 27.1%)
CIE-LABlab(50.64, 55.86, -37.83)
CIE-LCHlch(50.64, 67.46, 325.89°)
OKLaboklab(59.81% 0.1534 -0.1045)
OKLCHoklch(59.81% 0.186 325.7)
XYZxyz(30.7143, 18.9627, 48.4872)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54FBA #54BA4F
analogous
#804FBA #B54FBA #BA4F8A
triadic
#B54FBA #BAB54F #4FBAB5
tetradic
#B54FBA #BA804F #54BA4F #4F8ABA
square
#B54FBA #BA804F #54BA4F #4F8ABA
split-complementary
#B54FBA #8ABA4F #4FBA80
monochromatic
#642866 #8E3992 #B54FBA #C77BCB #DAA7DC

Accessibility & contrast

On white

4.38
#B54FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B54FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54FBA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54FBA#FFFFFF#000000##000000
##B54FBA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4170BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#B95D7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54fba;
/* rgb */ color: rgb(181, 79, 186);
/* oklch */ color: oklch(59.8% 0.186 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce86cf',
    500: '#b54fba',
    950: '#000000',
  },
}
SCSS
$custom: #b54fba;
$custom-light: #ce86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b54fba",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 297.196,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.18564,
    "h": 325.7
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#B54FBA
secondary
#9DCA9B
accent
#D3545A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B54FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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