#B54ABB#B54ABB

#B54ABB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.3% C 0.194 H 325.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B54ABB
RGBrgb(181, 74, 187)
HSLhsl(297, 45%, 51%)
HSVhsv(297, 60%, 73%)
CMYKcmyk(3.2%, 60.4%, 0%, 26.7%)
CIE-LABlab(49.87, 58.29, -39.62)
CIE-LCHlch(49.87, 70.48, 325.79°)
OKLaboklab(59.26% 0.1598 -0.1097)
OKLCHoklch(59.26% 0.194 325.5)
XYZxyz(30.4738, 18.3110, 48.9333)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ABB #50BB4A
analogous
#7C4ABB #B54ABB #BB4A88
triadic
#B54ABB #BBB54A #4ABBB5
tetradic
#B54ABB #BB7C4A #50BB4A #4A88BB
square
#B54ABB #BB7C4A #50BB4A #4A88BB
split-complementary
#B54ABB #88BB4A #4ABB7C
monochromatic
#612665 #8C3791 #B54ABB #C776CC #D9A3DC

Accessibility & contrast

On white

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

On black

4.66
#B54ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ABB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ABB#FFFFFF#000000##000000
##B54ABB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#B9597C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b54abb;
/* rgb */ color: rgb(181, 74, 187);
/* oklch */ color: oklch(59.3% 0.194 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce83d0',
    500: '#b54abb',
    950: '#000000',
  },
}
SCSS
$custom: #b54abb;
$custom-light: #ce83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54abb",
  "rgb": {
    "r": 181,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 296.814,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.1938,
    "h": 325.5
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#B54ABB
secondary
#9AC997
accent
#D5535A
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B54ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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