#B54ECC#B54ECC

#B54ECC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.204 H 319.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B54ECC
RGBrgb(181, 78, 204)
HSLhsl(289, 55%, 55%)
HSVhsv(289, 62%, 80%)
CMYKcmyk(11.3%, 61.8%, 0%, 20%)
CIE-LABlab(51.42, 59.67, -46.98)
CIE-LCHlch(51.42, 75.94, 321.79°)
OKLaboklab(60.68% 0.1557 -0.1311)
OKLCHoklch(60.68% 0.204 319.9)
XYZxyz(32.6782, 19.6337, 59.1834)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54ECC #65CC4E
analogous
#764ECC #B54ECC #CC4EA4
triadic
#B54ECC #CCB54E #4ECCB5
tetradic
#B54ECC #CC764E #65CC4E #4EA4CC
square
#B54ECC #CC764E #65CC4E #4EA4CC
split-complementary
#B54ECC #A4CC4E #4ECC76
monochromatic
#6C247C #9531AB #B54ECC #C97EDA #DDADE7

Accessibility & contrast

On white

4.26
#B54ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B54ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B54ECC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54ECC#FFFFFF#000000##000000
##B54ECC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#B66386
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b54ecc;
/* rgb */ color: rgb(181, 78, 204);
/* oklch */ color: oklch(60.7% 0.204 319.9);
Tailwind
colors: {
  custom: {
    50: '#ce86dc',
    500: '#b54ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b54ecc;
$custom-light: #ce86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b54ecc",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 289.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.20351,
    "h": 319.9
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#B54ECC
secondary
#AAD5A1
accent
#DF4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B54ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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