#AA23A0#AA23A0

#AA23A0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 331.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA23A0
RGBrgb(170, 35, 160)
HSLhsl(304, 66%, 40%)
HSVhsv(304, 79%, 67%)
CMYKcmyk(0%, 79.4%, 5.9%, 33.3%)
CIE-LABlab(41.67, 65.35, -36.76)
CIE-LCHlch(41.67, 74.98, 330.64°)
OKLaboklab(52.55% 0.187 -0.1013)
OKLCHoklch(52.55% 0.213 331.5)
XYZxyz(23.5238, 12.2881, 34.3838)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23A0 #23AA2D
analogous
#7023AA #AA23A0 #AA235D
triadic
#AA23A0 #A0AA23 #23A0AA
tetradic
#AA23A0 #AA7023 #23AA2D #235DAA
square
#AA23A0 #AA7023 #23AA2D #235DAA
split-complementary
#AA23A0 #5DAA23 #23AA70
monochromatic
#440E40 #771970 #AA23A0 #D535C9 #E068D7

Accessibility & contrast

On white

6.07
#AA23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA23A0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23A0#FFFFFF#000000##FFFFFF
##AA23A01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A3
Deuteranopia (green-blind)
#51699D
Tritanopia (blue-blind)
#B13561
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa23a0;
/* rgb */ color: rgb(170, 35, 160);
/* oklch */ color: oklch(52.5% 0.213 331.5);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#aa23a0',
    950: '#000000',
  },
}
SCSS
$custom: #aa23a0;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23a0",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 304.444,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.21268,
    "h": 331.5
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#AA23A0
secondary
#63C66B
accent
#E94C3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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