#B54BC0#B54BC0

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

Color values

HEX#B54BC0
RGBrgb(181, 75, 192)
HSLhsl(294, 48%, 52%)
HSVhsv(294, 61%, 75%)
CMYKcmyk(5.7%, 60.9%, 0%, 24.7%)
CIE-LABlab(50.29, 58.75, -41.86)
CIE-LCHlch(50.29, 72.14, 324.53°)
OKLaboklab(59.65% 0.1589 -0.1161)
OKLCHoklch(59.65% 0.197 323.8)
XYZxyz(31.0857, 18.6634, 51.8240)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC0 #56C04B
analogous
#7B4BC0 #B54BC0 #C04B91
triadic
#B54BC0 #C0B54B #4BC0B5
tetradic
#B54BC0 #C07B4B #56C04B #4B91C0
square
#B54BC0 #C07B4B #56C04B #4B91C0
split-complementary
#B54BC0 #91C04B #4BC07B
monochromatic
#65256B #8F3598 #B54BC0 #C878D0 #DAA6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54BC0#FFFFFF#000000##000000
##B54BC01.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)
#3670C4
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#B85C7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54bc0;
/* rgb */ color: rgb(181, 75, 192);
/* oklch */ color: oklch(59.7% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#ce84d3',
    500: '#b54bc0',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc0;
$custom-light: #ce84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc0",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 294.359,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.1968,
    "h": 323.8
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#B54BC0
secondary
#9FCD9A
accent
#D8505D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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