#A170AA#A170AA

#A170AA is a mid, moderate purple. Relative luminance 0.221; OKLCH L 61.6% C 0.102 H 321.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A170AA
RGBrgb(161, 112, 170)
HSLhsl(291, 25%, 55%)
HSVhsv(291, 34%, 67%)
CMYKcmyk(5.3%, 34.1%, 0%, 33.3%)
CIE-LABlab(54.10, 29.53, -23.35)
CIE-LCHlch(54.10, 37.65, 321.67°)
OKLaboklab(61.61% 0.0792 -0.0637)
OKLCHoklch(61.61% 0.102 321.2)
XYZxyz(27.7469, 22.0685, 40.8204)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170AA #79AA70
analogous
#8470AA #A170AA #AA7096
triadic
#A170AA #AAA170 #70AAA1
tetradic
#A170AA #AA8470 #79AA70 #7096AA
square
#A170AA #AA8470 #79AA70 #7096AA
split-complementary
#A170AA #96AA70 #70AA84
monochromatic
#5E3B64 #82528A #A170AA #BA96C1 #D3BDD8

Accessibility & contrast

On white

3.88
#A170AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A170AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170AA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170AA#FFFFFF#000000##000000
##A170AA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#A27685
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a170aa;
/* rgb */ color: rgb(161, 112, 170);
/* oklch */ color: oklch(61.6% 0.102 321.2);
Tailwind
colors: {
  custom: {
    50: '#bd9ac3',
    500: '#a170aa',
    950: '#000000',
  },
}
SCSS
$custom: #a170aa;
$custom-light: #bd9ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#a170aa",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 290.69,
    "s": 25.439,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.10164,
    "h": 321.2
  },
  "luminance": 0.22068
}

Semantic roles & 50–950 ramp

primary
#A170AA
secondary
#B3C7AF
accent
#C26674
background
#FBF9FC
surface
#F7F2F8
border
#D0CCD1
text
#120E12
muted
#817E81

Preview Lab

Preview with #A170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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