#A057DF#A057DF

#A057DF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.202 H 305.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A057DF
RGBrgb(160, 87, 223)
HSLhsl(272, 68%, 61%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.3%, 61%, 0%, 12.5%)
CIE-LABlab(51.40, 54.47, -57.98)
CIE-LCHlch(51.40, 79.55, 313.21°)
OKLaboklab(60.45% 0.1188 -0.1639)
OKLCHoklch(60.45% 0.202 305.9)
XYZxyz(31.2218, 19.6179, 71.9396)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A057DF #96DF57
analogous
#5C57DF #A057DF #DF57DA
triadic
#A057DF #DFA057 #57DFA0
tetradic
#A057DF #DF5C57 #96DF57 #57DADF
square
#A057DF #DF5C57 #96DF57 #57DADF
split-complementary
#A057DF #DADF57 #57DF5C
monochromatic
#621E9E #8328D1 #A057DF #BD8AE9 #DABEF3

Accessibility & contrast

On white

4.27
#A057DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A057DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A057DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A057DF#FFFFFF#000000##000000
##A057DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0978E3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#957393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a057df;
/* rgb */ color: rgb(160, 87, 223);
/* oklch */ color: oklch(60.4% 0.202 305.9);
Tailwind
colors: {
  custom: {
    50: '#c08aea',
    500: '#a057df',
    950: '#000000',
  },
}
SCSS
$custom: #a057df;
$custom-light: #c08aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a057df",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 272.206,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.20247,
    "h": 305.9
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#A057DF
secondary
#C7E3AF
accent
#D0166C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A057DF

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

Preview Lab → · Contrast checker → · Palette generator →

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