#AA38AC#AA38AC

#AA38AC is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.0% C 0.199 H 327.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AA38AC
RGBrgb(170, 56, 172)
HSLhsl(299, 51%, 45%)
HSVhsv(299, 67%, 67%)
CMYKcmyk(1.2%, 67.4%, 0%, 32.5%)
CIE-LABlab(44.74, 60.42, -39.06)
CIE-LCHlch(44.74, 71.94, 327.12°)
OKLaboklab(54.96% 0.1675 -0.1081)
OKLCHoklch(54.96% 0.199 327.2)
XYZxyz(25.4377, 14.3547, 40.4526)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38AC #3AAC38
analogous
#7038AC #AA38AC #AC3874
triadic
#AA38AC #ACAA38 #38ACAA
tetradic
#AA38AC #AC7038 #3AAC38 #3874AC
square
#AA38AC #AC7038 #3AAC38 #3874AC
split-complementary
#AA38AC #74AC38 #38AC70
monochromatic
#4F1A50 #7C297E #AA38AC #C758C9 #D687D8

Accessibility & contrast

On white

5.43
#AA38AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AA38AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38AC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38AC#FFFFFF#000000##FFFFFF
##AA38AC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#AF496E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38ac;
/* rgb */ color: rgb(170, 56, 172);
/* oklch */ color: oklch(55.0% 0.199 327.2);
Tailwind
colors: {
  custom: {
    50: '#c778c5',
    500: '#aa38ac',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ac;
$custom-light: #c778c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ac",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 298.966,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.19941,
    "h": 327.2
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#AA38AC
secondary
#7FC27E
accent
#DA4D50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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