#A057D2#A057D2

#A057D2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.188 H 309.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A057D2
RGBrgb(160, 87, 210)
HSLhsl(276, 58%, 58%)
HSVhsv(276, 59%, 82%)
CMYKcmyk(23.8%, 58.6%, 0%, 17.6%)
CIE-LABlab(50.62, 51.51, -51.85)
CIE-LCHlch(50.62, 73.08, 314.81°)
OKLaboklab(59.63% 0.119 -0.1459)
OKLCHoklch(59.63% 0.188 309.2)
XYZxyz(29.5360, 18.9436, 63.0608)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A057D2 #89D257
analogous
#6257D2 #A057D2 #D257C6
triadic
#A057D2 #D2A057 #57D2A0
tetradic
#A057D2 #D26257 #89D257 #57C6D2
square
#A057D2 #D26257 #89D257 #57C6D2
split-complementary
#A057D2 #C6D257 #57D262
monochromatic
#61258A #8332BA #A057D2 #BB87DF #D7B8EC

Accessibility & contrast

On white

4.39
#A057D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A057D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A057D2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A057D2#FFFFFF#000000##000000
##A057D21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2975D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#996E8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a057d2;
/* rgb */ color: rgb(160, 87, 210);
/* oklch */ color: oklch(59.6% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ae0',
    500: '#a057d2',
    950: '#000000',
  },
}
SCSS
$custom: #a057d2;
$custom-light: #bf8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#a057d2",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 275.61,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.18831,
    "h": 309.2
  },
  "luminance": 0.18943
}

Semantic roles & 50–950 ramp

primary
#A057D2
secondary
#BEDBAA
accent
#E14785
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A057D2

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

Preview Lab → · Contrast checker → · Palette generator →

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