#AA38BF#AA38BF

#AA38BF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 321.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA38BF
RGBrgb(170, 56, 191)
HSLhsl(291, 55%, 48%)
HSVhsv(291, 71%, 75%)
CMYKcmyk(11%, 70.7%, 0%, 25.1%)
CIE-LABlab(45.82, 63.80, -48.49)
CIE-LCHlch(45.82, 80.14, 322.77°)
OKLaboklab(56.08% 0.1673 -0.1356)
OKLCHoklch(56.08% 0.215 321)
XYZxyz(27.3946, 15.1374, 50.7590)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BF #4DBF38
analogous
#6638BF #AA38BF #BF3890
triadic
#AA38BF #BFAA38 #38BFAA
tetradic
#AA38BF #BF6638 #4DBF38 #3890BF
square
#AA38BF #BF6638 #4DBF38 #3890BF
split-complementary
#AA38BF #90BF38 #38BF66
monochromatic
#561C60 #802A90 #AA38BF #C063D1 #D392DF

Accessibility & contrast

On white

5.21
#AA38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AA38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BF#FFFFFF#000000##FFFFFF
##AA38BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#AB5178
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38bf;
/* rgb */ color: rgb(170, 56, 191);
/* oklch */ color: oklch(56.1% 0.215 321.0);
Tailwind
colors: {
  custom: {
    50: '#c779d3',
    500: '#aa38bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa38bf;
$custom-light: #c779d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38bf",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 290.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.21536,
    "h": 321
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#AA38BF
secondary
#93CA89
accent
#DE4A61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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