#AA38B6#AA38B6

#AA38B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.208 H 323.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AA38B6
RGBrgb(170, 56, 182)
HSLhsl(294, 53%, 47%)
HSVhsv(294, 69%, 71%)
CMYKcmyk(6.6%, 69.2%, 0%, 28.6%)
CIE-LABlab(45.29, 62.17, -44.07)
CIE-LCHlch(45.29, 76.20, 324.67°)
OKLaboklab(55.54% 0.1676 -0.1227)
OKLCHoklch(55.54% 0.208 323.8)
XYZxyz(26.4345, 14.7534, 45.7022)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B6 #44B638
analogous
#6B38B6 #AA38B6 #B63883
triadic
#AA38B6 #B6AA38 #38B6AA
tetradic
#AA38B6 #B66B38 #44B638 #3883B6
square
#AA38B6 #B66B38 #44B638 #3883B6
split-complementary
#AA38B6 #83B638 #38B66B
monochromatic
#531B58 #7E2A87 #AA38B6 #C35ECD #D48DDC

Accessibility & contrast

On white

5.32
#AA38B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AA38B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B6#FFFFFF#000000##FFFFFF
##AA38B61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#AD4D73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b6;
/* rgb */ color: rgb(170, 56, 182);
/* oklch */ color: oklch(55.5% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#c779cc',
    500: '#aa38b6',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b6;
$custom-light: #c779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b6",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 294.286,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.20773,
    "h": 323.8
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#AA38B6
secondary
#8AC684
accent
#DC4B59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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