#B54DC2#B54DC2

#B54DC2 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.196 H 323.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B54DC2
RGBrgb(181, 77, 194)
HSLhsl(293, 49%, 53%)
HSVhsv(293, 60%, 76%)
CMYKcmyk(6.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(50.72, 58.23, -42.34)
CIE-LCHlch(50.72, 72.00, 323.98°)
OKLaboklab(60% 0.1565 -0.1175)
OKLCHoklch(60% 0.196 323.1)
XYZxyz(31.4466, 19.0282, 53.0449)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54DC2 #5AC24D
analogous
#7A4DC2 #B54DC2 #C24D95
triadic
#B54DC2 #C2B54D #4DC2B5
tetradic
#B54DC2 #C27A4D #5AC24D #4D95C2
square
#B54DC2 #C27A4D #5AC24D #4D95C2
split-complementary
#B54DC2 #95C24D #4DC27A
monochromatic
#67266F #91369C #B54DC2 #C87BD2 #DBA8E1

Accessibility & contrast

On white

4.37
#B54DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B54DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54DC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54DC2#FFFFFF#000000##000000
##B54DC21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#B85E80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54dc2;
/* rgb */ color: rgb(181, 77, 194);
/* oklch */ color: oklch(60.0% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#ce85d5',
    500: '#b54dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b54dc2;
$custom-light: #ce85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54dc2",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 293.333,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.19575,
    "h": 323.1
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#B54DC2
secondary
#A2CF9C
accent
#D94F5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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