#B54DCA#B54DCA

#B54DCA is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.4% C 0.203 H 320.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B54DCA
RGBrgb(181, 77, 202)
HSLhsl(290, 54%, 55%)
HSVhsv(290, 62%, 79%)
CMYKcmyk(10.4%, 61.9%, 0%, 20.8%)
CIE-LABlab(51.15, 59.73, -46.26)
CIE-LCHlch(51.15, 75.55, 322.24°)
OKLaboklab(60.45% 0.1568 -0.129)
OKLCHoklch(60.45% 0.203 320.6)
XYZxyz(32.3693, 19.3973, 57.9047)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DCA #62CA4D
analogous
#774DCA #B54DCA #CA4DA1
triadic
#B54DCA #CAB54D #4DCAB5
tetradic
#B54DCA #CA774D #62CA4D #4DA1CA
square
#B54DCA #CA774D #62CA4D #4DA1CA
split-complementary
#B54DCA #A1CA4D #4DCA77
monochromatic
#6A2479 #9432A8 #B54DCA #C97CD8 #DCABE6

Accessibility & contrast

On white

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

On black

4.88
#B54DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DCA#FFFFFF#000000##000000
##B54DCA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#B66185
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54dca;
/* rgb */ color: rgb(181, 77, 202);
/* oklch */ color: oklch(60.4% 0.203 320.6);
Tailwind
colors: {
  custom: {
    50: '#ce85db',
    500: '#b54dca',
    950: '#000000',
  },
}
SCSS
$custom: #b54dca;
$custom-light: #ce85db;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dca",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 289.92,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.20306,
    "h": 320.6
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#B54DCA
secondary
#A8D49F
accent
#DD4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B54DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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