#A54ED2#A54ED2

#A54ED2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.203 H 312.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A54ED2
RGBrgb(165, 78, 210)
HSLhsl(280, 59%, 56%)
HSVhsv(280, 63%, 82%)
CMYKcmyk(21.4%, 62.9%, 0%, 17.6%)
CIE-LABlab(49.62, 57.11, -53.41)
CIE-LCHlch(49.62, 78.19, 316.91°)
OKLaboklab(59.04% 0.1362 -0.1503)
OKLCHoklch(59.04% 0.203 312.2)
XYZxyz(29.8722, 18.1020, 62.8807)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ED2 #7BD24E
analogous
#634ED2 #A54ED2 #D24EBD
triadic
#A54ED2 #D2A54E #4ED2A5
tetradic
#A54ED2 #D2634E #7BD24E #4EBDD2
square
#A54ED2 #D2634E #7BD24E #4EBDD2
split-complementary
#A54ED2 #BDD24E #4ED263
monochromatic
#622284 #872EB5 #A54ED2 #BE7FDE #D7B0EB

Accessibility & contrast

On white

4.55
#A54ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A54ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54ED2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ED2#FFFFFF#000000##000000
##A54ED21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1172D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#A06789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54ed2;
/* rgb */ color: rgb(165, 78, 210);
/* oklch */ color: oklch(59.0% 0.203 312.2);
Tailwind
colors: {
  custom: {
    50: '#c385e0',
    500: '#a54ed2',
    950: '#000000',
  },
}
SCSS
$custom: #a54ed2;
$custom-light: #c385e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ed2",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 279.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.20286,
    "h": 312.2
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#A54ED2
secondary
#B5D9A3
accent
#E3457B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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