#AA38B3#AA38B3

#AA38B3 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.205 H 324.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AA38B3
RGBrgb(170, 56, 179)
HSLhsl(296, 52%, 46%)
HSVhsv(296, 69%, 70%)
CMYKcmyk(5%, 68.7%, 0%, 29.8%)
CIE-LABlab(45.12, 61.64, -42.57)
CIE-LCHlch(45.12, 74.91, 325.37°)
OKLaboklab(55.36% 0.1676 -0.1184)
OKLCHoklch(55.36% 0.205 324.8)
XYZxyz(26.1278, 14.6307, 44.0869)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B3 #41B338
analogous
#6C38B3 #AA38B3 #B3387E
triadic
#AA38B3 #B3AA38 #38B3AA
tetradic
#AA38B3 #B36C38 #41B338 #387EB3
square
#AA38B3 #B36C38 #41B338 #387EB3
split-complementary
#AA38B3 #7EB338 #38B36C
monochromatic
#511B56 #7E2984 #AA38B3 #C45CCC #D58BDB

Accessibility & contrast

On white

5.35
#AA38B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA38B3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B3#FFFFFF#000000##FFFFFF
##AA38B31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B7
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#AE4C71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa38b3;
/* rgb */ color: rgb(170, 56, 179);
/* oklch */ color: oklch(55.4% 0.205 324.8);
Tailwind
colors: {
  custom: {
    50: '#c778ca',
    500: '#aa38b3',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b3;
$custom-light: #c778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b3",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 295.61,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.20521,
    "h": 324.8
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA38B3

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

Preview Lab → · Contrast checker → · Palette generator →

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