#AA38BB#AA38BB

#AA38BB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.212 H 322.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA38BB
RGBrgb(170, 56, 187)
HSLhsl(292, 54%, 48%)
HSVhsv(292, 70%, 73%)
CMYKcmyk(9.1%, 70.1%, 0%, 26.7%)
CIE-LABlab(45.58, 63.07, -46.53)
CIE-LCHlch(45.58, 78.38, 323.58°)
OKLaboklab(55.84% 0.1675 -0.1299)
OKLCHoklch(55.84% 0.212 322.2)
XYZxyz(26.9604, 14.9637, 48.4723)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA38BB #49BB38
analogous
#6938BB #AA38BB #BB388A
triadic
#AA38BB #BBAA38 #38BBAA
tetradic
#AA38BB #BB6938 #49BB38 #388ABB
square
#AA38BB #BB6938 #49BB38 #388ABB
split-complementary
#AA38BB #8ABB38 #38BB69
monochromatic
#541C5D #7F2A8C #AA38BB #C161D0 #D490DE

Accessibility & contrast

On white

5.26
#AA38BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AA38BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA38BB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA38BB#FFFFFF#000000##FFFFFF
##AA38BB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#AC4F76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa38bb;
/* rgb */ color: rgb(170, 56, 187);
/* oklch */ color: oklch(55.8% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#c779d0',
    500: '#aa38bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa38bb;
$custom-light: #c779d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa38bb",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 292.214,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.21195,
    "h": 322.2
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#AA38BB
secondary
#8FC886
accent
#DD4B5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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