#AA23B0#AA23B0

#AA23B0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.224 H 326.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA23B0
RGBrgb(170, 35, 176)
HSLhsl(297, 67%, 41%)
HSVhsv(297, 80%, 69%)
CMYKcmyk(3.4%, 80.1%, 0%, 31%)
CIE-LABlab(42.59, 67.88, -44.84)
CIE-LCHlch(42.59, 81.36, 326.55°)
OKLaboklab(53.5% 0.1865 -0.1248)
OKLCHoklch(53.5% 0.224 326.2)
XYZxyz(25.0146, 12.8845, 42.2353)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23B0 #29B023
analogous
#6423B0 #AA23B0 #B02370
triadic
#AA23B0 #B0AA23 #23B0AA
tetradic
#AA23B0 #B06423 #29B023 #2370B0
square
#AA23B0 #B06423 #29B023 #2370B0
split-complementary
#AA23B0 #70B023 #23B064
monochromatic
#470F4A #79197D #AA23B0 #D139D8 #DD6CE2

Accessibility & contrast

On white

5.87
#AA23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA23B0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23B0#FFFFFF#000000##FFFFFF
##AA23B01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#AE3E6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa23b0;
/* rgb */ color: rgb(170, 35, 176);
/* oklch */ color: oklch(53.5% 0.224 326.2);
Tailwind
colors: {
  custom: {
    50: '#c770c8',
    500: '#aa23b0',
    950: '#000000',
  },
}
SCSS
$custom: #aa23b0;
$custom-light: #c770c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23b0",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 297.447,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.22442,
    "h": 326.2
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#AA23B0
secondary
#6BC867
accent
#EA3E45
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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