#AA47DB#AA47DB

#AA47DB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.223 H 312.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AA47DB
RGBrgb(170, 71, 219)
HSLhsl(280, 67%, 57%)
HSVhsv(280, 68%, 86%)
CMYKcmyk(22.4%, 67.6%, 0%, 14.1%)
CIE-LABlab(49.70, 63.25, -58.39)
CIE-LCHlch(49.70, 86.08, 317.29°)
OKLaboklab(59.41% 0.1498 -0.1647)
OKLCHoklch(59.41% 0.223 312.3)
XYZxyz(31.6147, 18.1679, 68.8454)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47DB #78DB47
analogous
#6047DB #AA47DB #DB47C2
triadic
#AA47DB #DBAA47 #47DBAA
tetradic
#AA47DB #DB6047 #78DB47 #47C2DB
square
#AA47DB #DB6047 #78DB47 #47C2DB
split-complementary
#AA47DB #C2DB47 #47DB60
monochromatic
#671B8C #8C25BF #AA47DB #C27AE5 #D9ADEF

Accessibility & contrast

On white

4.53
#AA47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AA47DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47DB#FFFFFF#000000##000000
##AA47DB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#A4668C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa47db;
/* rgb */ color: rgb(170, 71, 219);
/* oklch */ color: oklch(59.4% 0.223 312.3);
Tailwind
colors: {
  custom: {
    50: '#c781e7',
    500: '#aa47db',
    950: '#000000',
  },
}
SCSS
$custom: #aa47db;
$custom-light: #c781e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47db",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 280.135,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.22263,
    "h": 312.3
  },
  "luminance": 0.18167
}

Semantic roles & 50–950 ramp

primary
#AA47DB
secondary
#B5DDA1
accent
#EA3E77
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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