#A54ECE#A54ECE

#A54ECE is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.199 H 313.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A54ECE
RGBrgb(165, 78, 206)
HSLhsl(281, 57%, 56%)
HSVhsv(281, 62%, 81%)
CMYKcmyk(19.9%, 62.1%, 0%, 19.2%)
CIE-LABlab(49.38, 56.26, -51.51)
CIE-LCHlch(49.38, 76.27, 317.52°)
OKLaboklab(58.79% 0.1363 -0.1447)
OKLCHoklch(58.79% 0.199 313.3)
XYZxyz(29.3801, 17.9052, 60.2889)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ECE #77CE4E
analogous
#654ECE #A54ECE #CE4EB7
triadic
#A54ECE #CEA54E #4ECEA5
tetradic
#A54ECE #CE654E #77CE4E #4EB7CE
square
#A54ECE #CE654E #77CE4E #4EB7CE
split-complementary
#A54ECE #B7CE4E #4ECE65
monochromatic
#61237F #8630AE #A54ECE #BD7EDB #D6AEE9

Accessibility & contrast

On white

4.58
#A54ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A54ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54ECE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ECE#FFFFFF#000000##000000
##A54ECE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#A16687
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54ece;
/* rgb */ color: rgb(165, 78, 206);
/* oklch */ color: oklch(58.8% 0.199 313.3);
Tailwind
colors: {
  custom: {
    50: '#c385de',
    500: '#a54ece',
    950: '#000000',
  },
}
SCSS
$custom: #a54ece;
$custom-light: #c385de;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ece",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 280.781,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.19881,
    "h": 313.3
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#A54ECE
secondary
#B2D7A1
accent
#E04879
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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