#AA59DB#AA59DB

#AA59DB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.6% C 0.198 H 310.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA59DB
RGBrgb(170, 89, 219)
HSLhsl(277, 64%, 60%)
HSVhsv(277, 59%, 86%)
CMYKcmyk(22.4%, 59.4%, 0%, 14.1%)
CIE-LABlab(52.74, 54.91, -53.51)
CIE-LCHlch(52.74, 76.67, 315.74°)
OKLaboklab(61.61% 0.1291 -0.1505)
OKLCHoklch(61.61% 0.198 310.6)
XYZxyz(32.9337, 20.8060, 69.2851)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA59DB #8ADB59
analogous
#6959DB #AA59DB #DB59CB
triadic
#AA59DB #DBAA59 #59DBAA
tetradic
#AA59DB #DB6959 #8ADB59 #59CBDB
square
#AA59DB #DB6959 #8ADB59 #59CBDB
split-complementary
#AA59DB #CBDB59 #59DB69
monochromatic
#6C2199 #8F2CCB #AA59DB #C48BE6 #DEBEF1

Accessibility & contrast

On white

4.07
#AA59DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AA59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA59DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA59DB#FFFFFF#000000##000000
##AA59DB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#A47192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa59db;
/* rgb */ color: rgb(170, 89, 219);
/* oklch */ color: oklch(61.6% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#c78ce7',
    500: '#aa59db',
    950: '#000000',
  },
}
SCSS
$custom: #aa59db;
$custom-light: #c78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa59db",
  "rgb": {
    "r": 170,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 277.385,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.19831,
    "h": 310.6
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#AA59DB
secondary
#C2E1AF
accent
#CC195D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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