#AA2BE2#AA2BE2

#AA2BE2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.4% C 0.258 H 312.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA2BE2
RGBrgb(170, 43, 226)
HSLhsl(282, 76%, 53%)
HSVhsv(282, 81%, 89%)
CMYKcmyk(24.8%, 81%, 0%, 11.4%)
CIE-LABlab(46.67, 74.68, -67.27)
CIE-LCHlch(46.67, 100.51, 317.99°)
OKLaboklab(57.42% 0.1732 -0.1906)
OKLCHoklch(57.42% 0.258 312.2)
XYZxyz(31.1664, 15.7657, 73.3381)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BE2 #63E22B
analogous
#4E2BE2 #AA2BE2 #E22BBF
triadic
#AA2BE2 #E2AA2B #2BE2AA
tetradic
#AA2BE2 #E24E2B #63E22B #2BBFE2
square
#AA2BE2 #E24E2B #63E22B #2BBFE2
split-complementary
#AA2BE2 #BFE22B #2BE24E
monochromatic
#5F1281 #8719B7 #AA2BE2 #C061E9 #D597F1

Accessibility & contrast

On white

5.06
#AA2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AA2BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BE2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BE2#FFFFFF#000000##FFFFFF
##AA2BE21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#A35A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa2be2;
/* rgb */ color: rgb(170, 43, 226);
/* oklch */ color: oklch(57.4% 0.258 312.2);
Tailwind
colors: {
  custom: {
    50: '#c975ec',
    500: '#aa2be2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2be2;
$custom-light: #c975ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2be2",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 281.639,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.25754,
    "h": 312.2
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#AA2BE2
secondary
#A5DC8D
accent
#F3356F
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AA2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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