#B54CBD#B54CBD

#B54CBD is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.193 H 324.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B54CBD
RGBrgb(181, 76, 189)
HSLhsl(296, 46%, 52%)
HSVhsv(296, 60%, 74%)
CMYKcmyk(4.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(50.30, 57.76, -40.11)
CIE-LCHlch(50.30, 70.32, 325.22°)
OKLaboklab(59.61% 0.1575 -0.1111)
OKLCHoklch(59.61% 0.193 324.8)
XYZxyz(30.8251, 18.6685, 50.1140)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CBD #54BD4C
analogous
#7D4CBD #B54CBD #BD4C8D
triadic
#B54CBD #BDB54C #4CBDB5
tetradic
#B54CBD #BD7D4C #54BD4C #4C8DBD
square
#B54CBD #BD7D4C #54BD4C #4C8DBD
split-complementary
#B54CBD #8DBD4C #4CBD7D
monochromatic
#642668 #8E3795 #B54CBD #C779CD #DAA5DE

Accessibility & contrast

On white

4.44
#B54CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B54CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CBD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CBD#FFFFFF#000000##000000
##B54CBD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FC0
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#B95C7D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54cbd;
/* rgb */ color: rgb(181, 76, 189);
/* oklch */ color: oklch(59.6% 0.193 324.8);
Tailwind
colors: {
  custom: {
    50: '#ce84d1',
    500: '#b54cbd',
    950: '#000000',
  },
}
SCSS
$custom: #b54cbd;
$custom-light: #ce84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cbd",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 295.752,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.1927,
    "h": 324.8
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#B54CBD
secondary
#9DCB9A
accent
#D6525B
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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