#B54CD1#B54CD1

#B54CD1 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.211 H 318.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B54CD1
RGBrgb(181, 76, 209)
HSLhsl(287, 59%, 56%)
HSVhsv(287, 64%, 82%)
CMYKcmyk(13.4%, 63.6%, 0%, 18%)
CIE-LABlab(51.38, 61.52, -49.91)
CIE-LCHlch(51.38, 79.22, 320.95°)
OKLaboklab(60.74% 0.1581 -0.1396)
OKLCHoklch(60.74% 0.211 318.6)
XYZxyz(33.1476, 19.5975, 62.3459)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54CD1 #68D14C
analogous
#724CD1 #B54CD1 #D14CAB
triadic
#B54CD1 #D1B54C #4CD1B5
tetradic
#B54CD1 #D1724C #68D14C #4CABD1
square
#B54CD1 #D1724C #68D14C #4CABD1
split-complementary
#B54CD1 #ABD14C #4CD172
monochromatic
#6D2181 #962EB2 #B54CD1 #C97DDE #DDADEA

Accessibility & contrast

On white

4.27
#B54CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B54CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54CD1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54CD1#FFFFFF#000000##000000
##B54CD11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2273D5
Deuteranopia (green-blind)
#537ECE
Tritanopia (blue-blind)
#B56388
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54cd1;
/* rgb */ color: rgb(181, 76, 209);
/* oklch */ color: oklch(60.7% 0.211 318.6);
Tailwind
colors: {
  custom: {
    50: '#ce85e0',
    500: '#b54cd1',
    950: '#000000',
  },
}
SCSS
$custom: #b54cd1;
$custom-light: #ce85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54cd1",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 287.368,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.21088,
    "h": 318.6
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#B54CD1
secondary
#ACD8A1
accent
#E24667
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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