#B54ABC#B54ABC

#B54ABC is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.195 H 325.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B54ABC
RGBrgb(181, 74, 188)
HSLhsl(296, 46%, 51%)
HSVhsv(296, 61%, 74%)
CMYKcmyk(3.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(49.92, 58.47, -40.12)
CIE-LCHlch(49.92, 70.91, 325.54°)
OKLaboklab(59.32% 0.1599 -0.1111)
OKLCHoklch(59.32% 0.195 325.2)
XYZxyz(30.5812, 18.3539, 49.4991)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ABC #51BC4A
analogous
#7C4ABC #B54ABC #BC4A8A
triadic
#B54ABC #BCB54A #4ABCB5
tetradic
#B54ABC #BC7C4A #51BC4A #4A8ABC
square
#B54ABC #BC7C4A #51BC4A #4A8ABC
split-complementary
#B54ABC #8ABC4A #4ABC7C
monochromatic
#622666 #8D3693 #B54ABC #C777CD #DAA3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54ABC#FFFFFF#000000##000000
##B54ABC1.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)
#386EBF
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#B95A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54abc;
/* rgb */ color: rgb(181, 74, 188);
/* oklch */ color: oklch(59.3% 0.195 325.2);
Tailwind
colors: {
  custom: {
    50: '#ce83d0',
    500: '#b54abc',
    950: '#000000',
  },
}
SCSS
$custom: #b54abc;
$custom-light: #ce83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54abc",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 296.316,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.19468,
    "h": 325.2
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#B54ABC
secondary
#9BCA98
accent
#D6525A
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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