#8A16A0#8A16A0

#8A16A0 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.209 H 320.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A16A0
RGBrgb(138, 22, 160)
HSLhsl(290, 76%, 36%)
HSVhsv(290, 86%, 63%)
CMYKcmyk(13.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(35.04, 62.35, -47.69)
CIE-LCHlch(35.04, 78.50, 322.59°)
OKLaboklab(46.8% 0.1609 -0.134)
OKLCHoklch(46.8% 0.209 320.2)
XYZxyz(17.1125, 8.5161, 33.9933)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A16A0 #2CA016
analogous
#4516A0 #8A16A0 #A01671
triadic
#8A16A0 #A08A16 #16A08A
tetradic
#8A16A0 #A04516 #2CA016 #1671A0
square
#8A16A0 #A04516 #2CA016 #1671A0
split-complementary
#8A16A0 #71A016 #16A045
monochromatic
#2D0734 #5C0F6A #8A16A0 #B81DD6 #CD4AE6

Accessibility & contrast

On white

7.77
#8A16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A16A0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A16A0#FFFFFF#000000##FFFFFF
##8A16A01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#27569D
Tritanopia (blue-blind)
#8A385F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a16a0;
/* rgb */ color: rgb(138, 22, 160);
/* oklch */ color: oklch(46.8% 0.209 320.2);
Tailwind
colors: {
  custom: {
    50: '#b166bd',
    500: '#8a16a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a16a0;
$custom-light: #b166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a16a0",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 290.435,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.20942,
    "h": 320.2
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#8A16A0
secondary
#5EC84A
accent
#F23554
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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