#AA38AD#AA38AD

#AA38AD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.200 H 326.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA38AD
RGBrgb(170, 56, 173)
HSLhsl(298, 51%, 45%)
HSVhsv(298, 68%, 68%)
CMYKcmyk(1.7%, 67.6%, 0%, 32.2%)
CIE-LABlab(44.79, 60.59, -39.56)
CIE-LCHlch(44.79, 72.36, 326.86°)
OKLaboklab(55.01% 0.1676 -0.1096)
OKLCHoklch(55.01% 0.2 326.8)
XYZxyz(25.5341, 14.3932, 40.9603)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38AD #3BAD38
analogous
#7038AD #AA38AD #AD3875
triadic
#AA38AD #ADAA38 #38ADAA
tetradic
#AA38AD #AD7038 #3BAD38 #3875AD
square
#AA38AD #AD7038 #3BAD38 #3875AD
split-complementary
#AA38AD #75AD38 #38AD70
monochromatic
#4F1A51 #7D297F #AA38AD #C659C9 #D687D8

Accessibility & contrast

On white

5.41
#AA38AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA38AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38AD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38AD#FFFFFF#000000##FFFFFF
##AA38AD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#AF496E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38ad;
/* rgb */ color: rgb(170, 56, 173);
/* oklch */ color: oklch(55.0% 0.200 326.8);
Tailwind
colors: {
  custom: {
    50: '#c778c6',
    500: '#aa38ad',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ad;
$custom-light: #c778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ad",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 298.462,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.20024,
    "h": 326.8
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#AA38AD
secondary
#80C27F
accent
#DB4D51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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