#B54DC0#B54DC0

#B54DC0 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.194 H 323.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B54DC0
RGBrgb(181, 77, 192)
HSLhsl(294, 48%, 53%)
HSVhsv(294, 60%, 75%)
CMYKcmyk(5.7%, 59.9%, 0%, 24.7%)
CIE-LABlab(50.62, 57.86, -41.35)
CIE-LCHlch(50.62, 71.12, 324.45°)
OKLaboklab(59.89% 0.1564 -0.1147)
OKLCHoklch(59.89% 0.194 323.8)
XYZxyz(31.2235, 18.9390, 51.8699)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC0 #58C04D
analogous
#7B4DC0 #B54DC0 #C04D91
triadic
#B54DC0 #C0B54D #4DC0B5
tetradic
#B54DC0 #C07B4D #58C04D #4D91C0
square
#B54DC0 #C07B4D #58C04D #4D91C0
split-complementary
#B54DC0 #91C04D #4DC07B
monochromatic
#66266C #903699 #B54DC0 #C87AD0 #DBA7E0

Accessibility & contrast

On white

4.39
#B54DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B54DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC0#FFFFFF#000000##000000
##B54DC01.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C4
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#B85D7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b54dc0;
/* rgb */ color: rgb(181, 77, 192);
/* oklch */ color: oklch(59.9% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#ce85d3',
    500: '#b54dc0',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc0;
$custom-light: #ce85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc0",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 294.261,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.19395,
    "h": 323.8
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#B54DC0
secondary
#A0CD9B
accent
#D7505D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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