#A54EBA#A54EBA

#A54EBA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.179 H 319.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A54EBA
RGBrgb(165, 78, 186)
HSLhsl(288, 44%, 52%)
HSVhsv(288, 58%, 73%)
CMYKcmyk(11.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(48.25, 52.15, -41.75)
CIE-LCHlch(48.25, 66.80, 321.32°)
OKLaboklab(57.6% 0.1359 -0.1163)
OKLCHoklch(57.6% 0.179 319.5)
XYZxyz(27.1032, 16.9944, 48.2974)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EBA #63BA4E
analogous
#6F4EBA #A54EBA #BA4E99
triadic
#A54EBA #BAA54E #4EBAA5
tetradic
#A54EBA #BA6F4E #63BA4E #4E99BA
square
#A54EBA #BA6F4E #63BA4E #4E99BA
split-complementary
#A54EBA #99BA4E #4EBA6F
monochromatic
#5A2866 #813992 #A54EBA #BB7ACB #D2A6DC

Accessibility & contrast

On white

4.77
#A54EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A54EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54EBA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EBA#FFFFFF#000000##FFFFFF
##A54EBA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#A55F7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54eba;
/* rgb */ color: rgb(165, 78, 186);
/* oklch */ color: oklch(57.6% 0.179 319.5);
Tailwind
colors: {
  custom: {
    50: '#c284cf',
    500: '#a54eba',
    950: '#000000',
  },
}
SCSS
$custom: #a54eba;
$custom-light: #c284cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a54eba",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 288.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.17884,
    "h": 319.5
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#A54EBA
secondary
#A3CA9A
accent
#D4546D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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