#AA23B1#AA23B1

#AA23B1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.225 H 325.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AA23B1
RGBrgb(170, 35, 177)
HSLhsl(297, 67%, 42%)
HSVhsv(297, 80%, 69%)
CMYKcmyk(4%, 80.2%, 0%, 30.6%)
CIE-LABlab(42.65, 68.05, -45.34)
CIE-LCHlch(42.65, 81.77, 326.32°)
OKLaboklab(53.56% 0.1864 -0.1263)
OKLCHoklch(53.56% 0.225 325.9)
XYZxyz(25.1139, 12.9242, 42.7583)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23B1 #2AB123
analogous
#6323B1 #AA23B1 #B12371
triadic
#AA23B1 #B1AA23 #23B1AA
tetradic
#AA23B1 #B16323 #2AB123 #2371B1
square
#AA23B1 #B16323 #2AB123 #2371B1
split-complementary
#AA23B1 #71B123 #23B163
monochromatic
#480F4B #79197E #AA23B1 #D039D8 #DC6CE2

Accessibility & contrast

On white

5.86
#AA23B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA23B1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23B1#FFFFFF#000000##FFFFFF
##AA23B11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#AE3F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa23b1;
/* rgb */ color: rgb(170, 35, 177);
/* oklch */ color: oklch(53.6% 0.225 325.9);
Tailwind
colors: {
  custom: {
    50: '#c770c9',
    500: '#aa23b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa23b1;
$custom-light: #c770c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23b1",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 297.042,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.22517,
    "h": 325.9
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#AA23B1
secondary
#6CC868
accent
#EA3E46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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