#AA38B7#AA38B7

#AA38B7 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.209 H 323.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA38B7
RGBrgb(170, 56, 183)
HSLhsl(294, 53%, 47%)
HSVhsv(294, 69%, 72%)
CMYKcmyk(7.1%, 69.4%, 0%, 28.2%)
CIE-LABlab(45.35, 62.35, -44.56)
CIE-LCHlch(45.35, 76.64, 324.45°)
OKLaboklab(55.6% 0.1676 -0.1242)
OKLCHoklch(55.6% 0.209 323.5)
XYZxyz(26.5382, 14.7948, 46.2484)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B7 #45B738
analogous
#6B38B7 #AA38B7 #B73885
triadic
#AA38B7 #B7AA38 #38B7AA
tetradic
#AA38B7 #B76B38 #45B738 #3885B7
square
#AA38B7 #B76B38 #45B738 #3885B7
split-complementary
#AA38B7 #85B738 #38B76B
monochromatic
#531B59 #7E2A88 #AA38B7 #C25ECE #D48DDC

Accessibility & contrast

On white

5.30
#AA38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AA38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B7#FFFFFF#000000##FFFFFF
##AA38B71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#AD4D74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b7;
/* rgb */ color: rgb(170, 56, 183);
/* oklch */ color: oklch(55.6% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#c779cd',
    500: '#aa38b7',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b7;
$custom-light: #c779cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b7",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 293.858,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.20856,
    "h": 323.5
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#AA38B7
secondary
#8BC784
accent
#DD4B5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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