#B54BC2#B54BC2

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

Color values

HEX#B54BC2
RGBrgb(181, 75, 194)
HSLhsl(293, 49%, 53%)
HSVhsv(293, 61%, 76%)
CMYKcmyk(6.7%, 61.3%, 0%, 23.9%)
CIE-LABlab(50.40, 59.12, -42.85)
CIE-LCHlch(50.40, 73.02, 324.07°)
OKLaboklab(59.76% 0.159 -0.119)
OKLCHoklch(59.76% 0.199 323.2)
XYZxyz(31.3088, 18.7526, 52.9990)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BC2 #58C24B
analogous
#794BC2 #B54BC2 #C24B94
triadic
#B54BC2 #C2B54B #4BC2B5
tetradic
#B54BC2 #C2794B #58C24B #4B94C2
square
#B54BC2 #C2794B #58C24B #4B94C2
split-complementary
#B54BC2 #94C24B #4BC279
monochromatic
#66256D #90359B #B54BC2 #C879D1 #DBA6E1

Accessibility & contrast

On white

4.42
#B54BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B54BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BC2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BC2#FFFFFF#000000##000000
##B54BC21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#B85D80
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54bc2;
/* rgb */ color: rgb(181, 75, 194);
/* oklch */ color: oklch(59.8% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#ce84d5',
    500: '#b54bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b54bc2;
$custom-light: #ce84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bc2",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 293.445,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.19859,
    "h": 323.2
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#B54BC2
secondary
#A0CE9B
accent
#D94F5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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