#B54BD2#B54BD2

#B54BD2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.213 H 318.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B54BD2
RGBrgb(181, 75, 210)
HSLhsl(287, 60%, 56%)
HSVhsv(287, 64%, 82%)
CMYKcmyk(13.8%, 64.3%, 0%, 17.6%)
CIE-LABlab(51.28, 62.15, -50.64)
CIE-LCHlch(51.28, 80.16, 320.83°)
OKLaboklab(60.69% 0.1592 -0.1417)
OKLCHoklch(60.69% 0.213 318.3)
XYZxyz(33.2034, 19.5105, 62.9772)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54BD2 #68D24B
analogous
#714BD2 #B54BD2 #D24BAB
triadic
#B54BD2 #D2B54B #4BD2B5
tetradic
#B54BD2 #D2714B #68D24B #4BABD2
square
#B54BD2 #D2714B #68D24B #4BABD2
split-complementary
#B54BD2 #ABD24B #4BD271
monochromatic
#6D2182 #962DB3 #B54BD2 #C97CDE #DDADEA

Accessibility & contrast

On white

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

On black

4.90
#B54BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54BD2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54BD2#FFFFFF#000000##000000
##B54BD21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#B56388
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54bd2;
/* rgb */ color: rgb(181, 75, 210);
/* oklch */ color: oklch(60.7% 0.213 318.3);
Tailwind
colors: {
  custom: {
    50: '#cf84e0',
    500: '#b54bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b54bd2;
$custom-light: #cf84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54bd2",
  "rgb": {
    "r": 181,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 287.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.21315,
    "h": 318.3
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#B54BD2
secondary
#ACD8A0
accent
#E34567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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