#A54EBD#A54EBD

#A54EBD is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.182 H 318.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A54EBD
RGBrgb(165, 78, 189)
HSLhsl(287, 46%, 52%)
HSVhsv(287, 59%, 74%)
CMYKcmyk(12.7%, 58.7%, 0%, 25.9%)
CIE-LABlab(48.41, 52.75, -43.23)
CIE-LCHlch(48.41, 68.20, 320.66°)
OKLaboklab(57.77% 0.1361 -0.1206)
OKLCHoklch(57.77% 0.182 318.4)
XYZxyz(27.4255, 17.1233, 49.9947)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EBD #66BD4E
analogous
#6E4EBD #A54EBD #BD4E9E
triadic
#A54EBD #BDA54E #4EBDA5
tetradic
#A54EBD #BD6E4E #66BD4E #4E9EBD
square
#A54EBD #BD6E4E #66BD4E #4E9EBD
split-complementary
#A54EBD #9EBD4E #4EBD6E
monochromatic
#5B2769 #823896 #A54EBD #BC7BCE #D2A7DE

Accessibility & contrast

On white

4.75
#A54EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A54EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54EBD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EBD#FFFFFF#000000##FFFFFF
##A54EBD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#A5607E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54ebd;
/* rgb */ color: rgb(165, 78, 189);
/* oklch */ color: oklch(57.8% 0.182 318.4);
Tailwind
colors: {
  custom: {
    50: '#c284d1',
    500: '#a54ebd',
    950: '#000000',
  },
}
SCSS
$custom: #a54ebd;
$custom-light: #c284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ebd",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 287.027,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.1818,
    "h": 318.4
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#A54EBD
secondary
#A6CC9B
accent
#D5526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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