#B54EC0#B54EC0

#B54EC0 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.193 H 323.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B54EC0
RGBrgb(181, 78, 192)
HSLhsl(294, 48%, 53%)
HSVhsv(294, 59%, 75%)
CMYKcmyk(5.7%, 59.4%, 0%, 24.7%)
CIE-LABlab(50.78, 57.41, -41.08)
CIE-LCHlch(50.78, 70.60, 324.41°)
OKLaboklab(60.01% 0.1552 -0.1139)
OKLCHoklch(60.01% 0.193 323.7)
XYZxyz(31.2940, 19.0800, 51.8934)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54EC0 #59C04E
analogous
#7C4EC0 #B54EC0 #C04E92
triadic
#B54EC0 #C0B54E #4EC0B5
tetradic
#B54EC0 #C07C4E #59C04E #4E92C0
square
#B54EC0 #C07C4E #59C04E #4E92C0
split-complementary
#B54EC0 #92C04E #4EC07C
monochromatic
#66276D #90379A #B54EC0 #C87BD0 #DBA8E0

Accessibility & contrast

On white

4.36
#B54EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B54EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54EC0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54EC0#FFFFFF#000000##000000
##B54EC01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C4
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#B85E80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b54ec0;
/* rgb */ color: rgb(181, 78, 192);
/* oklch */ color: oklch(60.0% 0.193 323.7);
Tailwind
colors: {
  custom: {
    50: '#ce85d3',
    500: '#b54ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b54ec0;
$custom-light: #ce85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ec0",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 294.211,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60007,
    "c": 0.1925,
    "h": 323.7
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#B54EC0
secondary
#A1CE9C
accent
#D7515E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B54EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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