#AA38B5#AA38B5

#AA38B5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.207 H 324.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA38B5
RGBrgb(170, 56, 181)
HSLhsl(295, 53%, 46%)
HSVhsv(295, 69%, 71%)
CMYKcmyk(6.1%, 69.1%, 0%, 29%)
CIE-LABlab(45.24, 61.99, -43.57)
CIE-LCHlch(45.24, 75.77, 324.90°)
OKLaboklab(55.48% 0.1676 -0.1213)
OKLCHoklch(55.48% 0.207 324.1)
XYZxyz(26.3315, 14.7122, 45.1599)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B5 #43B538
analogous
#6C38B5 #AA38B5 #B53882
triadic
#AA38B5 #B5AA38 #38B5AA
tetradic
#AA38B5 #B56C38 #43B538 #3882B5
square
#AA38B5 #B56C38 #43B538 #3882B5
split-complementary
#AA38B5 #82B538 #38B56C
monochromatic
#521B58 #7E2A86 #AA38B5 #C35DCD #D48CDB

Accessibility & contrast

On white

5.33
#AA38B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AA38B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B5#FFFFFF#000000##FFFFFF
##AA38B51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B9
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#AD4D72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b5;
/* rgb */ color: rgb(170, 56, 181);
/* oklch */ color: oklch(55.5% 0.207 324.1);
Tailwind
colors: {
  custom: {
    50: '#c779cc',
    500: '#aa38b5',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b5;
$custom-light: #c779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b5",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 294.72,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.20688,
    "h": 324.1
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#AA38B5
secondary
#89C683
accent
#DC4C58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38B5

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

Preview Lab → · Contrast checker → · Palette generator →

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