#AA38B0#AA38B0

#AA38B0 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.203 H 325.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AA38B0
RGBrgb(170, 56, 176)
HSLhsl(297, 52%, 45%)
HSVhsv(297, 68%, 69%)
CMYKcmyk(3.4%, 68.2%, 0%, 31%)
CIE-LABlab(44.96, 61.11, -41.07)
CIE-LCHlch(44.96, 73.63, 326.10°)
OKLaboklab(55.18% 0.1676 -0.114)
OKLCHoklch(55.18% 0.203 325.8)
XYZxyz(25.8277, 14.5106, 42.5063)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38B0 #3EB038
analogous
#6E38B0 #AA38B0 #B0387A
triadic
#AA38B0 #B0AA38 #38B0AA
tetradic
#AA38B0 #B06E38 #3EB038 #387AB0
square
#AA38B0 #B06E38 #3EB038 #387AB0
split-complementary
#AA38B0 #7AB038 #38B06E
monochromatic
#501A53 #7D2982 #AA38B0 #C55BCB #D589D9

Accessibility & contrast

On white

5.38
#AA38B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AA38B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38B0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38B0#FFFFFF#000000##FFFFFF
##AA38B01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B3
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#AE4A70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa38b0;
/* rgb */ color: rgb(170, 56, 176);
/* oklch */ color: oklch(55.2% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#c778c8',
    500: '#aa38b0',
    950: '#000000',
  },
}
SCSS
$custom: #aa38b0;
$custom-light: #c778c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38b0",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 297,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.20272,
    "h": 325.8
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#AA38B0
secondary
#84C480
accent
#DB4D54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA38B0

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

Preview Lab → · Contrast checker → · Palette generator →

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