#B54DB2#B54DB2

#B54DB2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.182 H 328.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B54DB2
RGBrgb(181, 77, 178)
HSLhsl(302, 41%, 51%)
HSVhsv(302, 57%, 71%)
CMYKcmyk(0%, 57.5%, 1.7%, 29%)
CIE-LABlab(49.92, 55.35, -34.31)
CIE-LCHlch(49.92, 65.12, 328.20°)
OKLaboklab(59.15% 0.1552 -0.0943)
OKLCHoklch(59.15% 0.182 328.7)
XYZxyz(29.7455, 18.3478, 44.0856)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DB2 #4DB550
analogous
#844DB5 #B54DB2 #B54D7E
triadic
#B54DB2 #B2B54D #4DB2B5
tetradic
#B54DB2 #B5844D #4DB550 #4D7EB5
square
#B54DB2 #B5844D #4DB550 #4D7EB5
split-complementary
#B54DB2 #7EB54D #4DB584
monochromatic
#60285E #8B3A89 #B54DB2 #C778C5 #D9A3D7

Accessibility & contrast

On white

4.50
#B54DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B54DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DB2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DB2#FFFFFF#000000##000000
##B54DB21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#BB5878
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54db2;
/* rgb */ color: rgb(181, 77, 178);
/* oklch */ color: oklch(59.1% 0.182 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce85c9',
    500: '#b54db2',
    950: '#000000',
  },
}
SCSS
$custom: #b54db2;
$custom-light: #ce85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54db2",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 301.731,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.18162,
    "h": 328.7
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#B54DB2
secondary
#98C699
accent
#D15A57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B54DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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