#B54DCB#B54DCB

#B54DCB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.204 H 320.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B54DCB
RGBrgb(181, 77, 203)
HSLhsl(290, 55%, 55%)
HSVhsv(290, 62%, 80%)
CMYKcmyk(10.8%, 62.1%, 0%, 20.4%)
CIE-LABlab(51.20, 59.92, -46.75)
CIE-LCHlch(51.20, 76.00, 322.04°)
OKLaboklab(60.5% 0.1569 -0.1304)
OKLCHoklch(60.5% 0.204 320.3)
XYZxyz(32.4881, 19.4448, 58.5303)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DCB #63CB4D
analogous
#764DCB #B54DCB #CB4DA2
triadic
#B54DCB #CBB54D #4DCBB5
tetradic
#B54DCB #CB764D #63CB4D #4DA2CB
square
#B54DCB #CB764D #63CB4D #4DA2CB
split-complementary
#B54DCB #A2CB4D #4DCB76
monochromatic
#6B247A #9431A9 #B54DCB #C97CD9 #DCACE7

Accessibility & contrast

On white

4.30
#B54DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B54DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DCB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DCB#FFFFFF#000000##000000
##B54DCB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#B66285
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54dcb;
/* rgb */ color: rgb(181, 77, 203);
/* oklch */ color: oklch(60.5% 0.204 320.3);
Tailwind
colors: {
  custom: {
    50: '#ce85db',
    500: '#b54dcb',
    950: '#000000',
  },
}
SCSS
$custom: #b54dcb;
$custom-light: #ce85db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dcb",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 289.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.20398,
    "h": 320.3
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#B54DCB
secondary
#A9D49F
accent
#DE4A64
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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