#A11F8E#A11F8E

#A11F8E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 335.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A11F8E
RGBrgb(161, 31, 142)
HSLhsl(309, 68%, 38%)
HSVhsv(309, 81%, 63%)
CMYKcmyk(0%, 80.7%, 11.8%, 36.9%)
CIE-LABlab(38.75, 61.77, -30.57)
CIE-LCHlch(38.75, 68.92, 333.67°)
OKLaboklab(49.85% 0.1806 -0.0837)
OKLCHoklch(49.85% 0.199 335.1)
XYZxyz(20.0707, 10.5119, 26.5579)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11F8E #1FA132
analogous
#731FA1 #A11F8E #A11F4D
triadic
#A11F8E #8EA11F #1F8EA1
tetradic
#A11F8E #A1731F #1FA132 #1F4DA1
square
#A11F8E #A1731F #1FA132 #1F4DA1
split-complementary
#A11F8E #4DA11F #1FA173
monochromatic
#3A0B33 #6E1561 #A11F8E #D429BB #DF5BCC

Accessibility & contrast

On white

6.77
#A11F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A11F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A11F8E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11F8E#FFFFFF#000000##FFFFFF
##A11F8E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A92C56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11f8e;
/* rgb */ color: rgb(161, 31, 142);
/* oklch */ color: oklch(49.8% 0.199 335.1);
Tailwind
colors: {
  custom: {
    50: '#c16caf',
    500: '#a11f8e',
    950: '#000000',
  },
}
SCSS
$custom: #a11f8e;
$custom-light: #c16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a11f8e",
  "rgb": {
    "r": 161,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 308.769,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.19903,
    "h": 335.1
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#A11F8E
secondary
#58C468
accent
#EB573D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A11F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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