#AA25E2#AA25E2

#AA25E2 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 57.0% C 0.262 H 312.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA25E2
RGBrgb(170, 37, 226)
HSLhsl(282, 77%, 52%)
HSVhsv(282, 84%, 89%)
CMYKcmyk(24.8%, 83.6%, 0%, 11.4%)
CIE-LABlab(46.12, 76.26, -68.15)
CIE-LCHlch(46.12, 102.28, 318.21°)
OKLaboklab(57.04% 0.177 -0.1932)
OKLCHoklch(57.04% 0.262 312.5)
XYZxyz(30.9641, 15.3611, 73.2706)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25E2 #5DE225
analogous
#4C25E2 #AA25E2 #E225BC
triadic
#AA25E2 #E2AA25 #25E2AA
tetradic
#AA25E2 #E24C25 #5DE225 #25BCE2
square
#AA25E2 #E24C25 #5DE225 #25BCE2
split-complementary
#AA25E2 #BCE225 #25E24C
monochromatic
#5C117C #8418B2 #AA25E2 #BF5BE9 #D491F0

Accessibility & contrast

On white

5.16
#AA25E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AA25E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25E2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25E2#FFFFFF#000000##FFFFFF
##AA25E21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#A35888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa25e2;
/* rgb */ color: rgb(170, 37, 226);
/* oklch */ color: oklch(57.0% 0.262 312.5);
Tailwind
colors: {
  custom: {
    50: '#c973ec',
    500: '#aa25e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa25e2;
$custom-light: #c973ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25e2",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 282.222,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.26199,
    "h": 312.5
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#AA25E2
secondary
#A0DB88
accent
#F3356D
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AA25E2

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

Preview Lab → · Contrast checker → · Palette generator →

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