#B54BCA#B54BCA

#B54BCA is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.206 H 320.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B54BCA
RGBrgb(181, 75, 202)
HSLhsl(290, 55%, 54%)
HSVhsv(290, 63%, 79%)
CMYKcmyk(10.4%, 62.9%, 0%, 20.8%)
CIE-LABlab(50.83, 60.62, -46.77)
CIE-LCHlch(50.83, 76.56, 322.35°)
OKLaboklab(60.22% 0.1592 -0.1304)
OKLCHoklch(60.22% 0.206 320.7)
XYZxyz(32.2315, 19.1217, 57.8588)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BCA #60CA4B
analogous
#764BCA #B54BCA #CA4B9F
triadic
#B54BCA #CAB54B #4BCAB5
tetradic
#B54BCA #CA764B #60CA4B #4B9FCA
square
#B54BCA #CA764B #60CA4B #4B9FCA
split-complementary
#B54BCA #9FCA4B #4BCA76
monochromatic
#6A2377 #9331A7 #B54BCA #C87AD8 #DCAAE6

Accessibility & contrast

On white

4.35
#B54BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B54BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BCA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BCA#FFFFFF#000000##000000
##B54BCA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#B66084
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54bca;
/* rgb */ color: rgb(181, 75, 202);
/* oklch */ color: oklch(60.2% 0.206 320.7);
Tailwind
colors: {
  custom: {
    50: '#ce84db',
    500: '#b54bca',
    950: '#000000',
  },
}
SCSS
$custom: #b54bca;
$custom-light: #ce84db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bca",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 290.079,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.20582,
    "h": 320.7
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#B54BCA
secondary
#A6D39D
accent
#DE4A62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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