#AA38BE#AA38BE

#AA38BE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.214 H 321.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA38BE
RGBrgb(170, 56, 190)
HSLhsl(291, 54%, 48%)
HSVhsv(291, 71%, 75%)
CMYKcmyk(10.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(45.76, 63.62, -48.00)
CIE-LCHlch(45.76, 79.70, 322.97°)
OKLaboklab(56.02% 0.1673 -0.1342)
OKLCHoklch(56.02% 0.215 321.3)
XYZxyz(27.2850, 15.0936, 50.1814)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BE #4CBE38
analogous
#6738BE #AA38BE #BE388F
triadic
#AA38BE #BEAA38 #38BEAA
tetradic
#AA38BE #BE6738 #4CBE38 #388FBE
square
#AA38BE #BE6738 #4CBE38 #388FBE
split-complementary
#AA38BE #8FBE38 #38BE67
monochromatic
#551C5F #802A8F #AA38BE #C062D1 #D392DF

Accessibility & contrast

On white

5.23
#AA38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BE#FFFFFF#000000##FFFFFF
##AA38BE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#AB5177
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38be;
/* rgb */ color: rgb(170, 56, 190);
/* oklch */ color: oklch(56.0% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#c779d2',
    500: '#aa38be',
    950: '#000000',
  },
}
SCSS
$custom: #aa38be;
$custom-light: #c779d2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38be",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 291.045,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.2145,
    "h": 321.3
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#AA38BE
secondary
#92CA88
accent
#DE4A60
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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