#AA06BA#AA06BA

#AA06BA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 53.0% C 0.247 H 323.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA06BA
RGBrgb(170, 6, 186)
HSLhsl(295, 94%, 38%)
HSVhsv(295, 97%, 73%)
CMYKcmyk(8.6%, 96.8%, 0%, 27.1%)
CIE-LABlab(41.57, 74.36, -52.39)
CIE-LCHlch(41.57, 90.96, 324.84°)
OKLaboklab(52.98% 0.1986 -0.1468)
OKLCHoklch(52.98% 0.247 323.5)
XYZxyz(25.5048, 12.2232, 47.4608)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA06BA #16BA06
analogous
#5006BA #AA06BA #BA0670
triadic
#AA06BA #BAAA06 #06BAAA
tetradic
#AA06BA #BA5006 #16BA06 #0670BA
square
#AA06BA #BA5006 #16BA06 #0670BA
split-complementary
#AA06BA #70BA06 #06BA50
monochromatic
#3E0243 #74047F #AA06BA #E008F5 #E942F9

Accessibility & contrast

On white

6.10
#AA06BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA06BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA06BA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA06BA#FFFFFF#000000##FFFFFF
##AA06BA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#AD3A6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa06ba;
/* rgb */ color: rgb(170, 6, 186);
/* oklch */ color: oklch(53.0% 0.247 323.5);
Tailwind
colors: {
  custom: {
    50: '#c86acf',
    500: '#aa06ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa06ba;
$custom-light: #c86acf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa06ba",
  "rgb": {
    "r": 170,
    "g": 6,
    "b": 186
  },
  "hsl": {
    "h": 294.667,
    "s": 93.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.24697,
    "h": 323.5
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#AA06BA
secondary
#51D844
accent
#FF293C
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140814
muted
#827B82

Preview Lab

Preview with #AA06BA

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

Preview Lab → · Contrast checker → · Palette generator →

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