#8D16B4#8D16B4

#8D16B4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.7% C 0.226 H 315.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D16B4
RGBrgb(141, 22, 180)
HSLhsl(285, 78%, 40%)
HSVhsv(285, 88%, 71%)
CMYKcmyk(21.7%, 87.8%, 0%, 29.4%)
CIE-LABlab(36.99, 66.53, -56.48)
CIE-LCHlch(36.99, 87.27, 319.67°)
OKLaboklab(48.72% 0.1603 -0.1598)
OKLCHoklch(48.72% 0.226 315.1)
XYZxyz(19.5083, 9.5326, 43.9835)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D16B4 #3DB416
analogous
#3E16B4 #8D16B4 #B4168C
triadic
#8D16B4 #B48D16 #16B48D
tetradic
#8D16B4 #B43E16 #3DB416 #168CB4
square
#8D16B4 #B43E16 #3DB416 #168CB4
split-complementary
#8D16B4 #8CB416 #16B43E
monochromatic
#380947 #620F7D #8D16B4 #B423E4 #C75AEB

Accessibility & contrast

On white

7.23
#8D16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D16B4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D16B4#FFFFFF#000000##FFFFFF
##8D16B41.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#025AB1
Tritanopia (blue-blind)
#8A426A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d16b4;
/* rgb */ color: rgb(141, 22, 180);
/* oklch */ color: oklch(48.7% 0.226 315.1);
Tailwind
colors: {
  custom: {
    50: '#b368cb',
    500: '#8d16b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d16b4;
$custom-light: #b368cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d16b4",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 285.19,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.22632,
    "h": 315.1
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#8D16B4
secondary
#75CE58
accent
#F53363
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8D16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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