#AA38C3#AA38C3

#AA38C3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.219 H 319.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA38C3
RGBrgb(170, 56, 195)
HSLhsl(289, 55%, 49%)
HSVhsv(289, 71%, 76%)
CMYKcmyk(12.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(46.06, 64.54, -50.43)
CIE-LCHlch(46.06, 81.91, 322.00°)
OKLaboklab(56.34% 0.1671 -0.1413)
OKLCHoklch(56.34% 0.219 319.8)
XYZxyz(27.8408, 15.3159, 53.1090)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38C3 #51C338
analogous
#6538C3 #AA38C3 #C33896
triadic
#AA38C3 #C3AA38 #38C3AA
tetradic
#AA38C3 #C36538 #51C338 #3896C3
square
#AA38C3 #C36538 #51C338 #3896C3
split-complementary
#AA38C3 #96C338 #38C365
monochromatic
#571D64 #812A93 #AA38C3 #BF65D3 #D395E1

Accessibility & contrast

On white

5.17
#AA38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AA38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38C3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38C3#FFFFFF#000000##FFFFFF
##AA38C31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#AA537A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa38c3;
/* rgb */ color: rgb(170, 56, 195);
/* oklch */ color: oklch(56.3% 0.219 319.8);
Tailwind
colors: {
  custom: {
    50: '#c779d6',
    500: '#aa38c3',
    950: '#000000',
  },
}
SCSS
$custom: #aa38c3;
$custom-light: #c779d6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38c3",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 289.209,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.2188,
    "h": 319.8
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#AA38C3
secondary
#97CC8B
accent
#DF4964
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AA38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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