#B54BD3#B54BD3

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

Color values

HEX#B54BD3
RGBrgb(181, 75, 211)
HSLhsl(287, 61%, 56%)
HSVhsv(287, 64%, 83%)
CMYKcmyk(14.2%, 64.5%, 0%, 17.3%)
CIE-LABlab(51.34, 62.34, -51.12)
CIE-LCHlch(51.34, 80.62, 320.65°)
OKLaboklab(60.75% 0.1592 -0.1431)
OKLCHoklch(60.75% 0.214 318)
XYZxyz(33.3284, 19.5605, 63.6354)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD3 #69D34B
analogous
#714BD3 #B54BD3 #D34BAD
triadic
#B54BD3 #D3B54B #4BD3B5
tetradic
#B54BD3 #D3714B #69D34B #4BADD3
square
#B54BD3 #D3714B #69D34B #4BADD3
split-complementary
#B54BD3 #ADD34B #4BD371
monochromatic
#6E2083 #972CB5 #B54BD3 #C97CDF #DDADEB

Accessibility & contrast

On white

4.28
#B54BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B54BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD3#FFFFFF#000000##000000
##B54BD31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B73D7
Deuteranopia (green-blind)
#517ED0
Tritanopia (blue-blind)
#B46389
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54bd3;
/* rgb */ color: rgb(181, 75, 211);
/* oklch */ color: oklch(60.7% 0.214 318.0);
Tailwind
colors: {
  custom: {
    50: '#cf84e1',
    500: '#b54bd3',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd3;
$custom-light: #cf84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd3",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 286.765,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.21407,
    "h": 318
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#B54BD3
secondary
#ADD9A1
accent
#E44467
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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