#B54DD5#B54DD5

#B54DD5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.213 H 317.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B54DD5
RGBrgb(181, 77, 213)
HSLhsl(286, 62%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(15%, 63.8%, 0%, 16.5%)
CIE-LABlab(51.77, 61.86, -51.57)
CIE-LCHlch(51.77, 80.54, 320.18°)
OKLaboklab(61.09% 0.1569 -0.1445)
OKLCHoklch(61.09% 0.213 317.4)
XYZxyz(33.7184, 19.9370, 65.0100)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DD5 #6DD54D
analogous
#714DD5 #B54DD5 #D54DB1
triadic
#B54DD5 #D5B54D #4DD5B5
tetradic
#B54DD5 #D5714D #6DD54D #4DB1D5
square
#B54DD5 #D5714D #6DD54D #4DB1D5
split-complementary
#B54DD5 #B1D54D #4DD571
monochromatic
#6F2088 #982CB9 #B54DD5 #CA7FE1 #DEB0EC

Accessibility & contrast

On white

4.21
#B54DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B54DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DD5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DD5#FFFFFF#000000##000000
##B54DD51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D75D9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#B4658A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b54dd5;
/* rgb */ color: rgb(181, 77, 213);
/* oklch */ color: oklch(61.1% 0.213 317.4);
Tailwind
colors: {
  custom: {
    50: '#cf85e2',
    500: '#b54dd5',
    950: '#000000',
  },
}
SCSS
$custom: #b54dd5;
$custom-light: #cf85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dd5",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 285.882,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.21327,
    "h": 317.4
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#B54DD5
secondary
#B0DBA3
accent
#E54369
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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