#AA38BD#AA38BD

#AA38BD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.214 H 321.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AA38BD
RGBrgb(170, 56, 189)
HSLhsl(291, 54%, 48%)
HSVhsv(291, 70%, 74%)
CMYKcmyk(10.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(45.70, 63.44, -47.51)
CIE-LCHlch(45.70, 79.26, 323.17°)
OKLaboklab(55.96% 0.1674 -0.1328)
OKLCHoklch(55.96% 0.214 321.6)
XYZxyz(27.1760, 15.0500, 49.6077)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BD #4BBD38
analogous
#6838BD #AA38BD #BD388D
triadic
#AA38BD #BDAA38 #38BDAA
tetradic
#AA38BD #BD6838 #4BBD38 #388DBD
square
#AA38BD #BD6838 #4BBD38 #388DBD
split-complementary
#AA38BD #8DBD38 #38BD68
monochromatic
#551C5F #802A8E #AA38BD #C162D0 #D391DE

Accessibility & contrast

On white

5.24
#AA38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AA38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BD#FFFFFF#000000##FFFFFF
##AA38BD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#AC5077
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38bd;
/* rgb */ color: rgb(170, 56, 189);
/* oklch */ color: oklch(56.0% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#c779d1',
    500: '#aa38bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa38bd;
$custom-light: #c779d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38bd",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 291.429,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.21365,
    "h": 321.6
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#AA38BD
secondary
#91C987
accent
#DE4A5F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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