#A054E8#A054E8

#A054E8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.216 H 304.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A054E8
RGBrgb(160, 84, 232)
HSLhsl(271, 76%, 62%)
HSVhsv(271, 64%, 91%)
CMYKcmyk(31%, 63.8%, 0%, 9%)
CIE-LABlab(51.43, 58.03, -63.02)
CIE-LCHlch(51.43, 85.67, 312.64°)
OKLaboklab(60.65% 0.1218 -0.1787)
OKLCHoklch(60.65% 0.216 304.3)
XYZxyz(32.2297, 19.6405, 78.4214)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054E8 #9CE854
analogous
#5654E8 #A054E8 #E854E6
triadic
#A054E8 #E8A054 #54E8A0
tetradic
#A054E8 #E85654 #9CE854 #54E6E8
square
#A054E8 #E85654 #9CE854 #54E6E8
split-complementary
#A054E8 #E6E854 #54E856
monochromatic
#6317AB #821EE1 #A054E8 #BE8AEF #DCC0F7

Accessibility & contrast

On white

4.26
#A054E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A054E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A054E8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A054E8#FFFFFF#000000##000000
##A054E81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#287BE5
Tritanopia (blue-blind)
#937497
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a054e8;
/* rgb */ color: rgb(160, 84, 232);
/* oklch */ color: oklch(60.7% 0.216 304.3);
Tailwind
colors: {
  custom: {
    50: '#c188f0',
    500: '#a054e8',
    950: '#000000',
  },
}
SCSS
$custom: #a054e8;
$custom-light: #c188f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a054e8",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 270.811,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.21626,
    "h": 304.3
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#A054E8
secondary
#CBE7B1
accent
#D80D70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A054E8

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

Preview Lab → · Contrast checker → · Palette generator →

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