#AA38AB#AA38AB

#AA38AB is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.199 H 327.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AA38AB
RGBrgb(170, 56, 171)
HSLhsl(299, 51%, 45%)
HSVhsv(299, 67%, 67%)
CMYKcmyk(0.6%, 67.3%, 0%, 32.9%)
CIE-LABlab(44.68, 60.25, -38.55)
CIE-LCHlch(44.68, 71.53, 327.39°)
OKLaboklab(54.9% 0.1675 -0.1067)
OKLCHoklch(54.9% 0.199 327.5)
XYZxyz(25.3421, 14.3164, 39.9487)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38AB #39AB38
analogous
#7038AB #AA38AB #AB3873
triadic
#AA38AB #ABAA38 #38ABAA
tetradic
#AA38AB #AB7038 #39AB38 #3873AB
square
#AA38AB #AB7038 #39AB38 #3873AB
split-complementary
#AA38AB #73AB38 #38AB70
monochromatic
#4E1A4F #7C297D #AA38AB #C758C8 #D786D7

Accessibility & contrast

On white

5.44
#AA38AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AA38AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38AB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38AB#FFFFFF#000000##FFFFFF
##AA38AB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#AF486D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38ab;
/* rgb */ color: rgb(170, 56, 171);
/* oklch */ color: oklch(54.9% 0.199 327.5);
Tailwind
colors: {
  custom: {
    50: '#c778c4',
    500: '#aa38ab',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ab;
$custom-light: #c778c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ab",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 299.478,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.549,
    "c": 0.1986,
    "h": 327.5
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#AA38AB
secondary
#7EC17D
accent
#DA4E4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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