#AA38C9#AA38C9

#AA38C9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.224 H 318.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA38C9
RGBrgb(170, 56, 201)
HSLhsl(287, 57%, 50%)
HSVhsv(287, 72%, 79%)
CMYKcmyk(15.4%, 72.1%, 0%, 21.2%)
CIE-LABlab(46.44, 65.67, -53.31)
CIE-LCHlch(46.44, 84.58, 320.93°)
OKLaboklab(56.72% 0.1666 -0.1497)
OKLCHoklch(56.72% 0.224 318)
XYZxyz(28.5329, 15.5927, 56.7538)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38C9 #57C938
analogous
#6138C9 #AA38C9 #C938A0
triadic
#AA38C9 #C9AA38 #38C9AA
tetradic
#AA38C9 #C96138 #57C938 #38A0C9
square
#AA38C9 #C96138 #57C938 #38A0C9
split-complementary
#AA38C9 #A0C938 #38C961
monochromatic
#591D6A #822A9A #AA38C9 #BF68D6 #D398E3

Accessibility & contrast

On white

5.10
#AA38C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AA38C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38C9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38C9#FFFFFF#000000##FFFFFF
##AA38C91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#A9557D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa38c9;
/* rgb */ color: rgb(170, 56, 201);
/* oklch */ color: oklch(56.7% 0.224 318.0);
Tailwind
colors: {
  custom: {
    50: '#c779da',
    500: '#aa38c9',
    950: '#000000',
  },
}
SCSS
$custom: #aa38c9;
$custom-light: #c779da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38c9",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 287.172,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.22398,
    "h": 318
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#AA38C9
secondary
#9CCF8E
accent
#E14768
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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