#AA38C0#AA38C0

#AA38C0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.216 H 320.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA38C0
RGBrgb(170, 56, 192)
HSLhsl(290, 55%, 49%)
HSVhsv(290, 71%, 75%)
CMYKcmyk(11.5%, 70.8%, 0%, 24.7%)
CIE-LABlab(45.88, 63.99, -48.97)
CIE-LCHlch(45.88, 80.58, 322.57°)
OKLaboklab(56.15% 0.1672 -0.137)
OKLCHoklch(56.15% 0.216 320.7)
XYZxyz(27.5050, 15.1816, 51.3405)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38C0 #4EC038
analogous
#6638C0 #AA38C0 #C03892
triadic
#AA38C0 #C0AA38 #38C0AA
tetradic
#AA38C0 #C06638 #4EC038 #3892C0
square
#AA38C0 #C06638 #4EC038 #3892C0
split-complementary
#AA38C0 #92C038 #38C066
monochromatic
#561C61 #802A91 #AA38C0 #C064D2 #D393DF

Accessibility & contrast

On white

5.20
#AA38C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AA38C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38C0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38C0#FFFFFF#000000##FFFFFF
##AA38C01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#AB5178
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa38c0;
/* rgb */ color: rgb(170, 56, 192);
/* oklch */ color: oklch(56.1% 0.216 320.7);
Tailwind
colors: {
  custom: {
    50: '#c779d4',
    500: '#aa38c0',
    950: '#000000',
  },
}
SCSS
$custom: #aa38c0;
$custom-light: #c779d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38c0",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 290.294,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.21622,
    "h": 320.7
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#AA38C0
secondary
#94CB89
accent
#DE4A62
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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