#AA38AE#AA38AE

#AA38AE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 326.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AA38AE
RGBrgb(170, 56, 174)
HSLhsl(298, 51%, 45%)
HSVhsv(298, 68%, 68%)
CMYKcmyk(2.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(44.85, 60.76, -40.07)
CIE-LCHlch(44.85, 72.79, 326.60°)
OKLaboklab(55.07% 0.1676 -0.1111)
OKLCHoklch(55.07% 0.201 326.5)
XYZxyz(25.6312, 14.4321, 41.4718)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38AE #3CAE38
analogous
#6F38AE #AA38AE #AE3877
triadic
#AA38AE #AEAA38 #38AEAA
tetradic
#AA38AE #AE6F38 #3CAE38 #3877AE
square
#AA38AE #AE6F38 #3CAE38 #3877AE
split-complementary
#AA38AE #77AE38 #38AE6F
monochromatic
#501A51 #7D2980 #AA38AE #C659CA #D688D9

Accessibility & contrast

On white

5.40
#AA38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38AE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38AE#FFFFFF#000000##FFFFFF
##AA38AE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#AF4A6F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38ae;
/* rgb */ color: rgb(170, 56, 174);
/* oklch */ color: oklch(55.1% 0.201 326.5);
Tailwind
colors: {
  custom: {
    50: '#c778c6',
    500: '#aa38ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ae;
$custom-light: #c778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ae",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 297.966,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.20107,
    "h": 326.5
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#AA38AE
secondary
#81C37F
accent
#DB4D52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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