#A54EBC#A54EBC

#A54EBC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.181 H 318.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A54EBC
RGBrgb(165, 78, 188)
HSLhsl(287, 45%, 52%)
HSVhsv(287, 59%, 74%)
CMYKcmyk(12.2%, 58.5%, 0%, 26.3%)
CIE-LABlab(48.36, 52.55, -42.74)
CIE-LCHlch(48.36, 67.74, 320.88°)
OKLaboklab(57.72% 0.136 -0.1191)
OKLCHoklch(57.72% 0.181 318.8)
XYZxyz(27.3173, 17.0801, 49.4250)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EBC #65BC4E
analogous
#6E4EBC #A54EBC #BC4E9C
triadic
#A54EBC #BCA54E #4EBCA5
tetradic
#A54EBC #BC6E4E #65BC4E #4E9CBC
square
#A54EBC #BC6E4E #65BC4E #4E9CBC
split-complementary
#A54EBC #9CBC4E #4EBC6E
monochromatic
#5B2768 #813895 #A54EBC #BC7ACD #D2A7DE

Accessibility & contrast

On white

4.76
#A54EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A54EBC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EBC#FFFFFF#000000##FFFFFF
##A54EBC1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#A55F7E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54ebc;
/* rgb */ color: rgb(165, 78, 188);
/* oklch */ color: oklch(57.7% 0.181 318.8);
Tailwind
colors: {
  custom: {
    50: '#c284d1',
    500: '#a54ebc',
    950: '#000000',
  },
}
SCSS
$custom: #a54ebc;
$custom-light: #c284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ebc",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 287.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.18081,
    "h": 318.8
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#A54EBC
secondary
#A5CB9B
accent
#D5536E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A54EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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