#AA57DF#AA57DF

#AA57DF is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.205 H 309.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AA57DF
RGBrgb(170, 87, 223)
HSLhsl(277, 68%, 61%)
HSVhsv(277, 61%, 87%)
CMYKcmyk(23.8%, 61%, 0%, 12.5%)
CIE-LABlab(52.61, 56.76, -55.98)
CIE-LCHlch(52.61, 79.72, 315.40°)
OKLaboklab(61.59% 0.1315 -0.1577)
OKLCHoklch(61.59% 0.205 309.8)
XYZxyz(33.3025, 20.6908, 72.0371)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57DF #8CDF57
analogous
#6657DF #AA57DF #DF57D0
triadic
#AA57DF #DFAA57 #57DFAA
tetradic
#AA57DF #DF6657 #8CDF57 #57D0DF
square
#AA57DF #DF6657 #8CDF57 #57D0DF
split-complementary
#AA57DF #D0DF57 #57DF66
monochromatic
#6C1E9E #8F28D1 #AA57DF #C48AE9 #DEBEF3

Accessibility & contrast

On white

4.09
#AA57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AA57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57DF#FFFFFF#000000##000000
##AA57DF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#A37193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa57df;
/* rgb */ color: rgb(170, 87, 223);
/* oklch */ color: oklch(61.6% 0.205 309.8);
Tailwind
colors: {
  custom: {
    50: '#c78bea',
    500: '#aa57df',
    950: '#000000',
  },
}
SCSS
$custom: #aa57df;
$custom-light: #c78bea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57df",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 276.618,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.20536,
    "h": 309.8
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#AA57DF
secondary
#C3E3AF
accent
#D0165E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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