#A054E3#A054E3

#A054E3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.211 H 305.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A054E3
RGBrgb(160, 84, 227)
HSLhsl(272, 72%, 61%)
HSVhsv(272, 63%, 89%)
CMYKcmyk(29.5%, 63%, 0%, 11%)
CIE-LABlab(51.11, 56.87, -60.72)
CIE-LCHlch(51.11, 83.19, 313.13°)
OKLaboklab(60.32% 0.1221 -0.1719)
OKLCHoklch(60.32% 0.211 305.4)
XYZxyz(31.5296, 19.3605, 74.7341)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054E3 #97E354
analogous
#5854E3 #A054E3 #E354DE
triadic
#A054E3 #E3A054 #54E3A0
tetradic
#A054E3 #E35854 #97E354 #54DEE3
square
#A054E3 #E35854 #97E354 #54DEE3
split-complementary
#A054E3 #DEE354 #54E358
monochromatic
#631BA2 #8323D7 #A054E3 #BD89EC #DABDF4

Accessibility & contrast

On white

4.31
#A054E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A054E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A054E3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A054E3#FFFFFF#000000##000000
##A054E31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#947294
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a054e3;
/* rgb */ color: rgb(160, 84, 227);
/* oklch */ color: oklch(60.3% 0.211 305.4);
Tailwind
colors: {
  custom: {
    50: '#c088ed',
    500: '#a054e3',
    950: '#000000',
  },
}
SCSS
$custom: #a054e3;
$custom-light: #c088ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a054e3",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 271.888,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.21091,
    "h": 305.4
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#A054E3
secondary
#C8E4AE
accent
#D4126D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A054E3

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

Preview Lab → · Contrast checker → · Palette generator →

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