#AA38B8#AA38B8

#AA38B8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.209 H 323.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AA38B8
RGBrgb(170, 56, 184)
HSLhsl(293, 53%, 47%)
HSVhsv(293, 70%, 72%)
CMYKcmyk(7.6%, 69.6%, 0%, 27.8%)
CIE-LABlab(45.41, 62.53, -45.06)
CIE-LCHlch(45.41, 77.07, 324.23°)
OKLaboklab(55.66% 0.1676 -0.1256)
OKLCHoklch(55.66% 0.209 323.1)
XYZxyz(26.6426, 14.8366, 46.7985)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B8 #46B838
analogous
#6A38B8 #AA38B8 #B83886
triadic
#AA38B8 #B8AA38 #38B8AA
tetradic
#AA38B8 #B86A38 #46B838 #3886B8
square
#AA38B8 #B86A38 #46B838 #3886B8
split-complementary
#AA38B8 #86B838 #38B86A
monochromatic
#531B5A #7F2A89 #AA38B8 #C25FCE #D48EDD

Accessibility & contrast

On white

5.29
#AA38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AA38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B8#FFFFFF#000000##FFFFFF
##AA38B81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#AD4E74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b8;
/* rgb */ color: rgb(170, 56, 184);
/* oklch */ color: oklch(55.7% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#c779ce',
    500: '#aa38b8',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b8;
$custom-light: #c779ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b8",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 293.438,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.20941,
    "h": 323.1
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#AA38B8
secondary
#8CC785
accent
#DD4B5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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