#AA23AA#AA23AA

#AA23AA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.220 H 328.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA23AA
RGBrgb(170, 35, 170)
HSLhsl(300, 66%, 40%)
HSVhsv(300, 79%, 67%)
CMYKcmyk(0%, 79.4%, 0%, 33.3%)
CIE-LABlab(42.23, 66.91, -41.85)
CIE-LCHlch(42.23, 78.92, 327.98°)
OKLaboklab(53.13% 0.1868 -0.1161)
OKLCHoklch(53.13% 0.22 328.1)
XYZxyz(24.4340, 12.6522, 39.1776)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23AA #23AA23
analogous
#6623AA #AA23AA #AA2366
triadic
#AA23AA #AAAA23 #23AAAA
tetradic
#AA23AA #AA6623 #23AA23 #2366AA
square
#AA23AA #AA6623 #23AA23 #2366AA
split-complementary
#AA23AA #66AA23 #23AA66
monochromatic
#440E44 #771977 #AA23AA #D535D5 #E068E0

Accessibility & contrast

On white

5.95
#AA23AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA23AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA23AA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23AA#FFFFFF#000000##FFFFFF
##AA23AA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#B03B67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa23aa;
/* rgb */ color: rgb(170, 35, 170);
/* oklch */ color: oklch(53.1% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#c76fc4',
    500: '#aa23aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa23aa;
$custom-light: #c76fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23aa",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.21996,
    "h": 328.1
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#AA23AA
secondary
#63C663
accent
#E93F3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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