#B54DBE#B54DBE

#B54DBE is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.8% C 0.192 H 324.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B54DBE
RGBrgb(181, 77, 190)
HSLhsl(295, 47%, 52%)
HSVhsv(295, 59%, 75%)
CMYKcmyk(4.7%, 59.5%, 0%, 25.5%)
CIE-LABlab(50.51, 57.50, -40.35)
CIE-LCHlch(50.51, 70.24, 324.94°)
OKLaboklab(59.78% 0.1563 -0.1118)
OKLCHoklch(59.78% 0.192 324.4)
XYZxyz(31.0034, 18.8509, 50.7108)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DBE #56BE4D
analogous
#7C4DBE #B54DBE #BE4D8F
triadic
#B54DBE #BEB54D #4DBEB5
tetradic
#B54DBE #BE7C4D #56BE4D #4D8FBE
square
#B54DBE #BE7C4D #56BE4D #4D8FBE
split-complementary
#B54DBE #8FBE4D #4DBE7C
monochromatic
#65276A #8F3797 #B54DBE #C87ACE #DAA7DF

Accessibility & contrast

On white

4.40
#B54DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B54DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DBE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DBE#FFFFFF#000000##000000
##B54DBE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#B95D7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54dbe;
/* rgb */ color: rgb(181, 77, 190);
/* oklch */ color: oklch(59.8% 0.192 324.4);
Tailwind
colors: {
  custom: {
    50: '#ce85d2',
    500: '#b54dbe',
    950: '#000000',
  },
}
SCSS
$custom: #b54dbe;
$custom-light: #ce85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dbe",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 295.221,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.19216,
    "h": 324.4
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#B54DBE
secondary
#9FCC9B
accent
#D6525C
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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