#A057E5#A057E5

#A057E5 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.209 H 304.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A057E5
RGBrgb(160, 87, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 62%, 90%)
CMYKcmyk(30.1%, 62%, 0%, 10.2%)
CIE-LABlab(51.78, 55.85, -60.77)
CIE-LCHlch(51.78, 82.54, 312.59°)
OKLaboklab(60.84% 0.1186 -0.1721)
OKLCHoklch(60.84% 0.209 304.6)
XYZxyz(32.0451, 19.9473, 76.2756)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A057E5 #9CE557
analogous
#5957E5 #A057E5 #E557E3
triadic
#A057E5 #E5A057 #57E5A0
tetradic
#A057E5 #E55957 #9CE557 #57E3E5
square
#A057E5 #E55957 #9CE557 #57E3E5
split-complementary
#A057E5 #E3E557 #57E559
monochromatic
#631AA8 #8222DD #A057E5 #BE8CED #DCC1F5

Accessibility & contrast

On white

4.21
#A057E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A057E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A057E5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A057E5#FFFFFF#000000##000000
##A057E51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#337BE2
Tritanopia (blue-blind)
#947596
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a057e5;
/* rgb */ color: rgb(160, 87, 229);
/* oklch */ color: oklch(60.8% 0.209 304.6);
Tailwind
colors: {
  custom: {
    50: '#c08aee',
    500: '#a057e5',
    950: '#000000',
  },
}
SCSS
$custom: #a057e5;
$custom-light: #c08aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a057e5",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 270.845,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.209,
    "h": 304.6
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#A057E5
secondary
#CBE6B2
accent
#D51070
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A057E5

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

Preview Lab → · Contrast checker → · Palette generator →

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