#A118A1#A118A1

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

Color values

HEX#A118A1
RGBrgb(161, 24, 161)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 63%)
CMYKcmyk(0%, 85.1%, 0%, 36.9%)
CIE-LABlab(39.25, 66.30, -41.31)
CIE-LCHlch(39.25, 78.12, 328.08°)
OKLaboklab(50.55% 0.1852 -0.1147)
OKLCHoklch(50.55% 0.218 328.2)
XYZxyz(21.4574, 10.8052, 34.6668)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A118A1 #18A118
analogous
#5D18A1 #A118A1 #A1185D
triadic
#A118A1 #A1A118 #18A1A1
tetradic
#A118A1 #A15D18 #18A118 #185DA1
square
#A118A1 #A15D18 #18A118 #185DA1
split-complementary
#A118A1 #5DA118 #18A15D
monochromatic
#360836 #6C106C #A118A1 #D620D6 #E54FE5

Accessibility & contrast

On white

6.64
#A118A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A118A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A118A1
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A118A1#FFFFFF#000000##FFFFFF
##A118A11.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#A63360
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a118a1;
/* rgb */ color: rgb(161, 24, 161);
/* oklch */ color: oklch(50.5% 0.218 328.2);
Tailwind
colors: {
  custom: {
    50: '#c16abd',
    500: '#a118a1',
    950: '#000000',
  },
}
SCSS
$custom: #a118a1;
$custom-light: #c16abd;
$custom-dark: #000000;
JSON
{
  "hex": "#a118a1",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.21784,
    "h": 328.2
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#A118A1
secondary
#4EC74E
accent
#F13737
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A118A1

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

Preview Lab → · Contrast checker → · Palette generator →

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