#B54DCD#B54DCD

#B54DCD is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.206 H 319.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B54DCD
RGBrgb(181, 77, 205)
HSLhsl(289, 56%, 55%)
HSVhsv(289, 62%, 80%)
CMYKcmyk(11.7%, 62.4%, 0%, 19.6%)
CIE-LABlab(51.31, 60.31, -47.72)
CIE-LCHlch(51.31, 76.90, 321.64°)
OKLaboklab(60.62% 0.1569 -0.1332)
OKLCHoklch(60.62% 0.206 319.7)
XYZxyz(32.7280, 19.5408, 59.7936)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DCD #65CD4D
analogous
#754DCD #B54DCD #CD4DA5
triadic
#B54DCD #CDB54D #4DCDB5
tetradic
#B54DCD #CD754D #65CD4D #4DA5CD
square
#B54DCD #CD754D #65CD4D #4DA5CD
split-complementary
#B54DCD #A5CD4D #4DCD75
monochromatic
#6C237D #9530AC #B54DCD #C97DDA #DDADE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54DCD#FFFFFF#000000##000000
##B54DCD1.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)
#2A73D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#B66286
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54dcd;
/* rgb */ color: rgb(181, 77, 205);
/* oklch */ color: oklch(60.6% 0.206 319.7);
Tailwind
colors: {
  custom: {
    50: '#ce85dd',
    500: '#b54dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b54dcd;
$custom-light: #ce85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dcd",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 288.75,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.20582,
    "h": 319.7
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#B54DCD
secondary
#AAD6A0
accent
#DF4865
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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