#8D18A1#8D18A1

#8D18A1 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.210 H 321.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8D18A1
RGBrgb(141, 24, 161)
HSLhsl(291, 74%, 36%)
HSVhsv(291, 85%, 63%)
CMYKcmyk(12.4%, 85.1%, 0%, 36.9%)
CIE-LABlab(35.77, 62.61, -47.08)
CIE-LCHlch(35.77, 78.33, 323.06°)
OKLaboklab(47.44% 0.1631 -0.1322)
OKLCHoklch(47.44% 0.21 321)
XYZxyz(17.7434, 8.8902, 34.4927)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D18A1 #2CA118
analogous
#4918A1 #8D18A1 #A11871
triadic
#8D18A1 #A18D18 #18A18D
tetradic
#8D18A1 #A14918 #2CA118 #1871A1
square
#8D18A1 #A14918 #2CA118 #1871A1
split-complementary
#8D18A1 #71A118 #18A149
monochromatic
#300836 #5E106C #8D18A1 #BC20D6 #CF4FE5

Accessibility & contrast

On white

7.56
#8D18A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D18A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D18A1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D18A1#FFFFFF#000000##FFFFFF
##8D18A11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#2B589E
Tritanopia (blue-blind)
#8E3860
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d18a1;
/* rgb */ color: rgb(141, 24, 161);
/* oklch */ color: oklch(47.4% 0.210 321.0);
Tailwind
colors: {
  custom: {
    50: '#b367bd',
    500: '#8d18a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d18a1;
$custom-light: #b367bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d18a1",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 291.241,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.20991,
    "h": 321
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#8D18A1
secondary
#60C74E
accent
#F13752
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D18A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8D18A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva