#A118A0#A118A0

#A118A0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.217 H 328.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A118A0
RGBrgb(161, 24, 160)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 63%)
CMYKcmyk(0%, 85.1%, 0.6%, 36.9%)
CIE-LABlab(39.19, 66.14, -40.80)
CIE-LCHlch(39.19, 77.72, 328.33°)
OKLaboklab(50.49% 0.1853 -0.1132)
OKLCHoklch(50.49% 0.217 328.6)
XYZxyz(21.3695, 10.7701, 34.2042)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A118A0 #18A119
analogous
#5E18A1 #A118A0 #A1185C
triadic
#A118A0 #A0A118 #18A0A1
tetradic
#A118A0 #A15E18 #18A119 #185CA1
square
#A118A0 #A15E18 #18A119 #185CA1
split-complementary
#A118A0 #5CA118 #18A15E
monochromatic
#360836 #6C106B #A118A0 #D620D5 #E54FE4

Accessibility & contrast

On white

6.66
#A118A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A118A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A118A0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A118A0#FFFFFF#000000##FFFFFF
##A118A01.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#A7325F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a118a0;
/* rgb */ color: rgb(161, 24, 160);
/* oklch */ color: oklch(50.5% 0.217 328.6);
Tailwind
colors: {
  custom: {
    50: '#c16abd',
    500: '#a118a0',
    950: '#000000',
  },
}
SCSS
$custom: #a118a0;
$custom-light: #c16abd;
$custom-dark: #000000;
JSON
{
  "hex": "#a118a0",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 300.438,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.21712,
    "h": 328.6
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#A118A0
secondary
#4EC74F
accent
#F13837
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A118A0

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

Preview Lab → · Contrast checker → · Palette generator →

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