#A54EDC#A54EDC

#A54EDC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.213 H 309.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A54EDC
RGBrgb(165, 78, 220)
HSLhsl(277, 67%, 58%)
HSVhsv(277, 65%, 86%)
CMYKcmyk(25%, 64.5%, 0%, 13.7%)
CIE-LABlab(50.23, 59.26, -58.13)
CIE-LCHlch(50.23, 83.01, 315.55°)
OKLaboklab(59.68% 0.1358 -0.1641)
OKLCHoklch(59.68% 0.213 309.6)
XYZxyz(31.1572, 18.6160, 69.6482)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EDC #85DC4E
analogous
#5E4EDC #A54EDC #DC4ECC
triadic
#A54EDC #DCA54E #4EDCA5
tetradic
#A54EDC #DC5E4E #85DC4E #4ECCDC
square
#A54EDC #DC5E4E #85DC4E #4ECCDC
split-complementary
#A54EDC #CCDC4E #4EDC5E
monochromatic
#651D93 #8827C6 #A54EDC #BF81E6 #D9B4F0

Accessibility & contrast

On white

4.45
#A54EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A54EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EDC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EDC#FFFFFF#000000##000000
##A54EDC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#9D6B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54edc;
/* rgb */ color: rgb(165, 78, 220);
/* oklch */ color: oklch(59.7% 0.213 309.6);
Tailwind
colors: {
  custom: {
    50: '#c485e8',
    500: '#a54edc',
    950: '#000000',
  },
}
SCSS
$custom: #a54edc;
$custom-light: #c485e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a54edc",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 276.761,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.21301,
    "h": 309.6
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#A54EDC
secondary
#BDDFA7
accent
#EA3E81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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