#AA38B4#AA38B4

#AA38B4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.206 H 324.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA38B4
RGBrgb(170, 56, 180)
HSLhsl(295, 53%, 46%)
HSVhsv(295, 69%, 71%)
CMYKcmyk(5.6%, 68.9%, 0%, 29.4%)
CIE-LABlab(45.18, 61.82, -43.07)
CIE-LCHlch(45.18, 75.34, 325.13°)
OKLaboklab(55.42% 0.1676 -0.1198)
OKLCHoklch(55.42% 0.206 324.4)
XYZxyz(26.2293, 14.6713, 44.6215)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B4 #42B438
analogous
#6C38B4 #AA38B4 #B43880
triadic
#AA38B4 #B4AA38 #38B4AA
tetradic
#AA38B4 #B46C38 #42B438 #3880B4
square
#AA38B4 #B46C38 #42B438 #3880B4
split-complementary
#AA38B4 #80B438 #38B46C
monochromatic
#521B57 #7E2985 #AA38B4 #C35DCD #D58BDB

Accessibility & contrast

On white

5.34
#AA38B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AA38B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B4#FFFFFF#000000##FFFFFF
##AA38B41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1862B8
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#AD4C72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b4;
/* rgb */ color: rgb(170, 56, 180);
/* oklch */ color: oklch(55.4% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#c778cb',
    500: '#aa38b4',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b4;
$custom-light: #c778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b4",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 295.161,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.20604,
    "h": 324.4
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#AA38B4
secondary
#88C582
accent
#DC4C57
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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