#AA38C1#AA38C1

#AA38C1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.217 H 320.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA38C1
RGBrgb(170, 56, 193)
HSLhsl(290, 55%, 49%)
HSVhsv(290, 71%, 76%)
CMYKcmyk(11.9%, 71%, 0%, 24.3%)
CIE-LABlab(45.94, 64.17, -49.46)
CIE-LCHlch(45.94, 81.02, 322.38°)
OKLaboklab(56.21% 0.1672 -0.1385)
OKLCHoklch(56.21% 0.217 320.4)
XYZxyz(27.6162, 15.2261, 51.9260)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38C1 #4FC138
analogous
#6638C1 #AA38C1 #C13894
triadic
#AA38C1 #C1AA38 #38C1AA
tetradic
#AA38C1 #C16638 #4FC138 #3894C1
square
#AA38C1 #C16638 #4FC138 #3894C1
split-complementary
#AA38C1 #94C138 #38C166
monochromatic
#561C62 #802A92 #AA38C1 #C064D2 #D394E0

Accessibility & contrast

On white

5.19
#AA38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA38C1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38C1#FFFFFF#000000##FFFFFF
##AA38C11.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#4571BE
Tritanopia (blue-blind)
#AB5279
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa38c1;
/* rgb */ color: rgb(170, 56, 193);
/* oklch */ color: oklch(56.2% 0.217 320.4);
Tailwind
colors: {
  custom: {
    50: '#c779d4',
    500: '#aa38c1',
    950: '#000000',
  },
}
SCSS
$custom: #aa38c1;
$custom-light: #c779d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38c1",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 289.927,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.21708,
    "h": 320.4
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#AA38C1
secondary
#95CB8A
accent
#DE4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AA38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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