#AA2FC8#AA2FC8

#AA2FC8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.233 H 318.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AA2FC8
RGBrgb(170, 47, 200)
HSLhsl(288, 62%, 48%)
HSVhsv(288, 77%, 78%)
CMYKcmyk(15%, 76.5%, 0%, 21.6%)
CIE-LABlab(45.29, 68.58, -54.57)
CIE-LCHlch(45.29, 87.64, 321.49°)
OKLaboklab(55.89% 0.1748 -0.1534)
OKLCHoklch(55.89% 0.233 318.7)
XYZxyz(28.0180, 14.7506, 56.0037)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FC8 #4DC82F
analogous
#5D2FC8 #AA2FC8 #C82F99
triadic
#AA2FC8 #C8AA2F #2FC8AA
tetradic
#AA2FC8 #C85D2F #4DC82F #2F99C8
square
#AA2FC8 #C85D2F #4DC82F #2F99C8
split-complementary
#AA2FC8 #99C82F #2FC85D
monochromatic
#561865 #802396 #AA2FC8 #C05CD9 #D38DE4

Accessibility & contrast

On white

5.32
#AA2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AA2FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FC8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FC8#FFFFFF#000000##FFFFFF
##AA2FC81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#A9507B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa2fc8;
/* rgb */ color: rgb(170, 47, 200);
/* oklch */ color: oklch(55.9% 0.233 318.7);
Tailwind
colors: {
  custom: {
    50: '#c875d9',
    500: '#aa2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fc8;
$custom-light: #c875d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fc8",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 288.235,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.23251,
    "h": 318.7
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#AA2FC8
secondary
#93CF84
accent
#E54363
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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