#AA2FD3#AA2FD3

#AA2FD3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.242 H 315.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA2FD3
RGBrgb(170, 47, 211)
HSLhsl(285, 65%, 51%)
HSVhsv(285, 78%, 83%)
CMYKcmyk(19.4%, 77.7%, 0%, 17.3%)
CIE-LABlab(46.02, 70.63, -59.74)
CIE-LCHlch(46.02, 92.51, 319.77°)
OKLaboklab(56.63% 0.1732 -0.1685)
OKLCHoklch(56.63% 0.242 315.8)
XYZxyz(29.3501, 15.2834, 63.0193)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FD3 #58D32F
analogous
#582FD3 #AA2FD3 #D32FAA
triadic
#AA2FD3 #D3AA2F #2FD3AA
tetradic
#AA2FD3 #D3582F #58D32F #2FAAD3
square
#AA2FD3 #D3582F #58D32F #2FAAD3
split-complementary
#AA2FD3 #AAD32F #2FD358
monochromatic
#5A1870 #8222A2 #AA2FD3 #BF62DE #D394E8

Accessibility & contrast

On white

5.18
#AA2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AA2FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FD3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FD3#FFFFFF#000000##FFFFFF
##AA2FD31.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#A75581
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa2fd3;
/* rgb */ color: rgb(170, 47, 211);
/* oklch */ color: oklch(56.6% 0.242 315.8);
Tailwind
colors: {
  custom: {
    50: '#c876e1',
    500: '#aa2fd3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fd3;
$custom-light: #c876e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fd3",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 285,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.24165,
    "h": 315.8
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#AA2FD3
secondary
#9DD38A
accent
#E8406A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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