#B54BC3#B54BC3

#B54BC3 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.8% C 0.199 H 322.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B54BC3
RGBrgb(181, 75, 195)
HSLhsl(293, 50%, 53%)
HSVhsv(293, 62%, 76%)
CMYKcmyk(7.2%, 61.5%, 0%, 23.5%)
CIE-LABlab(50.45, 59.31, -43.34)
CIE-LCHlch(50.45, 73.46, 323.84°)
OKLaboklab(59.82% 0.159 -0.1204)
OKLCHoklch(59.82% 0.199 322.9)
XYZxyz(31.4215, 18.7977, 53.5924)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC3 #59C34B
analogous
#794BC3 #B54BC3 #C34B95
triadic
#B54BC3 #C3B54B #4BC3B5
tetradic
#B54BC3 #C3794B #59C34B #4B95C3
square
#B54BC3 #C3794B #59C34B #4B95C3
split-complementary
#B54BC3 #95C34B #4BC379
monochromatic
#66256F #90349D #B54BC3 #C879D2 #DBA7E2

Accessibility & contrast

On white

4.41
#B54BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B54BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BC3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BC3#FFFFFF#000000##000000
##B54BC31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3370C7
Deuteranopia (green-blind)
#5C7CC0
Tritanopia (blue-blind)
#B85D80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54bc3;
/* rgb */ color: rgb(181, 75, 195);
/* oklch */ color: oklch(59.8% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#ce84d5',
    500: '#b54bc3',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc3;
$custom-light: #ce84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc3",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 293,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.19948,
    "h": 322.9
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#B54BC3
secondary
#A1CF9B
accent
#DA4E5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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