#B54DAD#B54DAD

#B54DAD is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.177 H 330.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B54DAD
RGBrgb(181, 77, 173)
HSLhsl(305, 41%, 51%)
HSVhsv(305, 57%, 71%)
CMYKcmyk(0%, 57.5%, 4.4%, 29%)
CIE-LABlab(49.68, 54.49, -31.76)
CIE-LCHlch(49.68, 63.07, 329.76°)
OKLaboklab(58.9% 0.1546 -0.087)
OKLCHoklch(58.9% 0.177 330.6)
XYZxyz(29.2526, 18.1506, 41.4897)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DAD #4DB555
analogous
#894DB5 #B54DAD #B54D79
triadic
#B54DAD #ADB54D #4DADB5
tetradic
#B54DAD #B5894D #4DB555 #4D79B5
square
#B54DAD #B5894D #4DB555 #4D79B5
split-complementary
#B54DAD #79B54D #4DB589
monochromatic
#60285B #8B3A85 #B54DAD #C778C1 #D9A3D5

Accessibility & contrast

On white

4.54
#B54DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B54DAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DAD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DAD#FFFFFF#000000##000000
##B54DAD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#BB5776
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b54dad;
/* rgb */ color: rgb(181, 77, 173);
/* oklch */ color: oklch(58.9% 0.177 330.6);
Tailwind
colors: {
  custom: {
    50: '#ce84c6',
    500: '#b54dad',
    950: '#000000',
  },
}
SCSS
$custom: #b54dad;
$custom-light: #ce84c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dad",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 304.615,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.17737,
    "h": 330.6
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#B54DAD
secondary
#98C69B
accent
#D16057
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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