#AA38BA#AA38BA

#AA38BA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.211 H 322.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AA38BA
RGBrgb(170, 56, 186)
HSLhsl(293, 54%, 47%)
HSVhsv(293, 70%, 73%)
CMYKcmyk(8.6%, 69.9%, 0%, 27.1%)
CIE-LABlab(45.53, 62.89, -46.04)
CIE-LCHlch(45.53, 77.94, 323.79°)
OKLaboklab(55.78% 0.1675 -0.1285)
OKLCHoklch(55.78% 0.211 322.5)
XYZxyz(26.8538, 14.9211, 47.9105)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BA #48BA38
analogous
#6938BA #AA38BA #BA3889
triadic
#AA38BA #BAAA38 #38BAAA
tetradic
#AA38BA #BA6938 #48BA38 #3889BA
square
#AA38BA #BA6938 #48BA38 #3889BA
split-complementary
#AA38BA #89BA38 #38BA69
monochromatic
#541C5C #7F2A8B #AA38BA #C160CF #D48FDD

Accessibility & contrast

On white

5.27
#AA38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AA38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BA#FFFFFF#000000##FFFFFF
##AA38BA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#4B70B7
Tritanopia (blue-blind)
#AC4F75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38ba;
/* rgb */ color: rgb(170, 56, 186);
/* oklch */ color: oklch(55.8% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#c779cf',
    500: '#aa38ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa38ba;
$custom-light: #c779cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38ba",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 292.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.21111,
    "h": 322.5
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#AA38BA
secondary
#8EC886
accent
#DD4B5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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