#A54EE4#A54EE4

#A54EE4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.221 H 307.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A54EE4
RGBrgb(165, 78, 228)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27.6%, 65.8%, 0%, 10.6%)
CIE-LABlab(50.75, 61.01, -61.83)
CIE-LCHlch(50.75, 86.87, 314.62°)
OKLaboklab(60.21% 0.1351 -0.175)
OKLCHoklch(60.21% 0.221 307.7)
XYZxyz(32.2421, 19.0500, 75.3622)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EE4 #8DE44E
analogous
#5A4EE4 #A54EE4 #E44ED8
triadic
#A54EE4 #E4A54E #4EE4A5
tetradic
#A54EE4 #E45A4E #8DE44E #4ED8E4
square
#A54EE4 #E45A4E #8DE44E #4ED8E4
split-complementary
#A54EE4 #D8E44E #4EE45A
monochromatic
#67189F #8920D4 #A54EE4 #C083EC #DBB8F4

Accessibility & contrast

On white

4.37
#A54EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A54EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EE4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EE4#FFFFFF#000000##000000
##A54EE41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#9B6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54ee4;
/* rgb */ color: rgb(165, 78, 228);
/* oklch */ color: oklch(60.2% 0.221 307.7);
Tailwind
colors: {
  custom: {
    50: '#c485ed',
    500: '#a54ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a54ee4;
$custom-light: #c485ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ee4",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 274.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.22114,
    "h": 307.7
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#A54EE4
secondary
#C2E4AA
accent
#F03885
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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