#A054E2#A054E2

#A054E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.210 H 305.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A054E2
RGBrgb(160, 84, 226)
HSLhsl(272, 71%, 61%)
HSVhsv(272, 63%, 89%)
CMYKcmyk(29.2%, 62.8%, 0%, 11.4%)
CIE-LABlab(51.04, 56.64, -60.26)
CIE-LCHlch(51.04, 82.70, 313.23°)
OKLaboklab(60.25% 0.1222 -0.1706)
OKLCHoklch(60.25% 0.21 305.6)
XYZxyz(31.3920, 19.3055, 74.0093)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A054E2 #96E254
analogous
#5954E2 #A054E2 #E254DD
triadic
#A054E2 #E2A054 #54E2A0
tetradic
#A054E2 #E25954 #96E254 #54DDE2
square
#A054E2 #E25954 #96E254 #54DDE2
split-complementary
#A054E2 #DDE254 #54E259
monochromatic
#621BA0 #8324D5 #A054E2 #BD88EB #DABDF4

Accessibility & contrast

On white

4.32
#A054E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A054E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A054E2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A054E2#FFFFFF#000000##000000
##A054E21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#957294
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a054e2;
/* rgb */ color: rgb(160, 84, 226);
/* oklch */ color: oklch(60.2% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#c088ec',
    500: '#a054e2',
    950: '#000000',
  },
}
SCSS
$custom: #a054e2;
$custom-light: #c088ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a054e2",
  "rgb": {
    "r": 160,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 272.113,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.20984,
    "h": 305.6
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#A054E2
secondary
#C7E4AE
accent
#D3126C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A054E2

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

Preview Lab → · Contrast checker → · Palette generator →

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