#A11F8C#A11F8C

#A11F8C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.198 H 335.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A11F8C
RGBrgb(161, 31, 140)
HSLhsl(310, 68%, 38%)
HSVhsv(310, 81%, 63%)
CMYKcmyk(0%, 80.7%, 13%, 36.9%)
CIE-LABlab(38.64, 61.48, -29.51)
CIE-LCHlch(38.64, 68.19, 334.36°)
OKLaboklab(49.74% 0.1805 -0.0806)
OKLCHoklch(49.74% 0.198 335.9)
XYZxyz(19.9219, 10.4524, 25.7742)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11F8C #1FA134
analogous
#751FA1 #A11F8C #A11F4B
triadic
#A11F8C #8CA11F #1F8CA1
tetradic
#A11F8C #A1751F #1FA134 #1F4BA1
square
#A11F8C #A1751F #1FA134 #1F4BA1
split-complementary
#A11F8C #4BA11F #1FA175
monochromatic
#3A0B33 #6E155F #A11F8C #D429B9 #DF5BCA

Accessibility & contrast

On white

6.80
#A11F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A11F8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A11F8C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11F8C#FFFFFF#000000##FFFFFF
##A11F8C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#516289
Tritanopia (blue-blind)
#AA2A55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11f8c;
/* rgb */ color: rgb(161, 31, 140);
/* oklch */ color: oklch(49.7% 0.198 335.9);
Tailwind
colors: {
  custom: {
    50: '#c16bae',
    500: '#a11f8c',
    950: '#000000',
  },
}
SCSS
$custom: #a11f8c;
$custom-light: #c16bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a11f8c",
  "rgb": {
    "r": 161,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 309.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.19766,
    "h": 335.9
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#A11F8C
secondary
#58C46A
accent
#EB593D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A11F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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