#A11F8D#A11F8D

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

Color values

HEX#A11F8D
RGBrgb(161, 31, 141)
HSLhsl(309, 68%, 38%)
HSVhsv(309, 81%, 63%)
CMYKcmyk(0%, 80.7%, 12.4%, 36.9%)
CIE-LABlab(38.69, 61.63, -30.04)
CIE-LCHlch(38.69, 68.56, 334.01°)
OKLaboklab(49.79% 0.1805 -0.0821)
OKLCHoklch(49.79% 0.198 335.5)
XYZxyz(19.9960, 10.4820, 26.1643)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11F8D #1FA133
analogous
#741FA1 #A11F8D #A11F4C
triadic
#A11F8D #8DA11F #1F8DA1
tetradic
#A11F8D #A1741F #1FA133 #1F4CA1
square
#A11F8D #A1741F #1FA133 #1F4CA1
split-complementary
#A11F8D #4CA11F #1FA174
monochromatic
#3A0B33 #6E1560 #A11F8D #D429BA #DF5BCB

Accessibility & contrast

On white

6.78
#A11F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A11F8D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11F8D#FFFFFF#000000##FFFFFF
##A11F8D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A92B56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11f8d;
/* rgb */ color: rgb(161, 31, 141);
/* oklch */ color: oklch(49.8% 0.198 335.5);
Tailwind
colors: {
  custom: {
    50: '#c16cae',
    500: '#a11f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a11f8d;
$custom-light: #c16cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a11f8d",
  "rgb": {
    "r": 161,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 309.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.19834,
    "h": 335.5
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#A11F8D
secondary
#58C469
accent
#EB583D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A11F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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