#AA57DB#AA57DB

#AA57DB is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.201 H 310.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA57DB
RGBrgb(170, 87, 219)
HSLhsl(278, 65%, 60%)
HSVhsv(278, 60%, 86%)
CMYKcmyk(22.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(52.37, 55.89, -54.09)
CIE-LCHlch(52.37, 77.78, 315.94°)
OKLaboklab(61.34% 0.1315 -0.1522)
OKLCHoklch(61.34% 0.201 310.8)
XYZxyz(32.7696, 20.4776, 69.2304)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA57DB #88DB57
analogous
#6857DB #AA57DB #DB57CA
triadic
#AA57DB #DBAA57 #57DBAA
tetradic
#AA57DB #DB6857 #88DB57 #57CADB
square
#AA57DB #DB6857 #88DB57 #57CADB
split-complementary
#AA57DB #CADB57 #57DB68
monochromatic
#6B2097 #8F2BCA #AA57DB #C389E6 #DDBCF1

Accessibility & contrast

On white

4.12
#AA57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA57DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA57DB#FFFFFF#000000##000000
##AA57DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#A47091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa57db;
/* rgb */ color: rgb(170, 87, 219);
/* oklch */ color: oklch(61.3% 0.201 310.8);
Tailwind
colors: {
  custom: {
    50: '#c78be7',
    500: '#aa57db',
    950: '#000000',
  },
}
SCSS
$custom: #aa57db;
$custom-light: #c78be7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa57db",
  "rgb": {
    "r": 170,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 277.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.20118,
    "h": 310.8
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#AA57DB
secondary
#C0E0AD
accent
#E8407E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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