#A057D8#A057D8

#A057D8 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.195 H 307.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A057D8
RGBrgb(160, 87, 216)
HSLhsl(274, 62%, 59%)
HSVhsv(274, 60%, 85%)
CMYKcmyk(25.9%, 59.7%, 0%, 15.3%)
CIE-LABlab(50.98, 52.86, -54.70)
CIE-LCHlch(50.98, 76.07, 314.02°)
OKLaboklab(60% 0.119 -0.1543)
OKLCHoklch(60% 0.195 307.6)
XYZxyz(30.2975, 19.2482, 67.0716)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A057D8 #8FD857
analogous
#5F57D8 #A057D8 #D857D0
triadic
#A057D8 #D8A057 #57D8A0
tetradic
#A057D8 #D85F57 #8FD857 #57D0D8
square
#A057D8 #D85F57 #8FD857 #57D0D8
split-complementary
#A057D8 #D0D857 #57D85F
monochromatic
#622293 #832EC4 #A057D8 #BC89E4 #D8BAEF

Accessibility & contrast

On white

4.33
#A057D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A057D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A057D8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A057D8#FFFFFF#000000##000000
##A057D81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DC
Deuteranopia (green-blind)
#427AD5
Tritanopia (blue-blind)
#97708F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a057d8;
/* rgb */ color: rgb(160, 87, 216);
/* oklch */ color: oklch(60.0% 0.195 307.6);
Tailwind
colors: {
  custom: {
    50: '#c08ae5',
    500: '#a057d8',
    950: '#000000',
  },
}
SCSS
$custom: #a057d8;
$custom-light: #c08ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#a057d8",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 273.953,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.19484,
    "h": 307.6
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#A057D8
secondary
#C2DFAC
accent
#E54289
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A057D8

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

Preview Lab → · Contrast checker → · Palette generator →

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