#A54ECD#A54ECD

#A54ECD is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.198 H 313.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A54ECD
RGBrgb(165, 78, 205)
HSLhsl(281, 56%, 55%)
HSVhsv(281, 62%, 80%)
CMYKcmyk(19.5%, 62%, 0%, 19.6%)
CIE-LABlab(49.32, 56.05, -51.03)
CIE-LCHlch(49.32, 75.80, 317.68°)
OKLaboklab(58.73% 0.1363 -0.1433)
OKLCHoklch(58.73% 0.198 313.6)
XYZxyz(29.2590, 17.8567, 59.6512)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ECD #76CD4E
analogous
#654ECD #A54ECD #CD4EB6
triadic
#A54ECD #CDA54E #4ECDA5
tetradic
#A54ECD #CD654E #76CD4E #4EB6CD
square
#A54ECD #CD654E #76CD4E #4EB6CD
split-complementary
#A54ECD #B6CD4E #4ECD65
monochromatic
#61237D #8631AD #A54ECD #BD7EDA #D6ADE8

Accessibility & contrast

On white

4.59
#A54ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A54ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54ECD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ECD#FFFFFF#000000##FFFFFF
##A54ECD1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#A16686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54ecd;
/* rgb */ color: rgb(165, 78, 205);
/* oklch */ color: oklch(58.7% 0.198 313.6);
Tailwind
colors: {
  custom: {
    50: '#c385dd',
    500: '#a54ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a54ecd;
$custom-light: #c385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ecd",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 281.102,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.19781,
    "h": 313.6
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#A54ECD
secondary
#B2D6A1
accent
#DF4978
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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