#AA38AF#AA38AF

#AA38AF is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.202 H 326.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA38AF
RGBrgb(170, 56, 175)
HSLhsl(297, 52%, 45%)
HSVhsv(297, 68%, 69%)
CMYKcmyk(2.9%, 68%, 0%, 31.4%)
CIE-LABlab(44.90, 60.94, -40.57)
CIE-LCHlch(44.90, 73.21, 326.35°)
OKLaboklab(55.13% 0.1676 -0.1125)
OKLCHoklch(55.13% 0.202 326.1)
XYZxyz(25.7291, 14.4712, 41.9872)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38AF #3DAF38
analogous
#6E38AF #AA38AF #AF3878
triadic
#AA38AF #AFAA38 #38AFAA
tetradic
#AA38AF #AF6E38 #3DAF38 #3878AF
square
#AA38AF #AF6E38 #3DAF38 #3878AF
split-complementary
#AA38AF #78AF38 #38AF6E
monochromatic
#501A52 #7D2981 #AA38AF #C55ACA #D688D9

Accessibility & contrast

On white

5.39
#AA38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38AF#FFFFFF#000000##FFFFFF
##AA38AF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#AE4A6F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38af;
/* rgb */ color: rgb(170, 56, 175);
/* oklch */ color: oklch(55.1% 0.202 326.1);
Tailwind
colors: {
  custom: {
    50: '#c778c7',
    500: '#aa38af',
    950: '#000000',
  },
}
SCSS
$custom: #aa38af;
$custom-light: #c778c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38af",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 297.479,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.20188,
    "h": 326.1
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#AA38AF
secondary
#82C380
accent
#DB4D53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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