#8A16BF#8A16BF

#8A16BF is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 49.2% C 0.234 H 310.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A16BF
RGBrgb(138, 22, 191)
HSLhsl(281, 79%, 42%)
HSVhsv(281, 88%, 75%)
CMYKcmyk(27.7%, 88.5%, 0%, 25.1%)
CIE-LABlab(37.37, 68.19, -62.38)
CIE-LCHlch(37.37, 92.42, 317.55°)
OKLaboklab(49.16% 0.1534 -0.1772)
OKLCHoklch(49.16% 0.234 310.9)
XYZxyz(20.1703, 9.7392, 50.0974)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A16BF #4BBF16
analogous
#3516BF #8A16BF #BF16A0
triadic
#8A16BF #BF8A16 #16BF8A
tetradic
#8A16BF #BF3516 #4BBF16 #16A0BF
square
#8A16BF #BF3516 #4BBF16 #16A0BF
split-complementary
#8A16BF #A0BF16 #16BF35
monochromatic
#3B0951 #621088 #8A16BF #AC2CE7 #C262ED

Accessibility & contrast

On white

7.12
#8A16BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A16BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A16BF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A16BF#FFFFFF#000000##FFFFFF
##8A16BF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#834871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a16bf;
/* rgb */ color: rgb(138, 22, 191);
/* oklch */ color: oklch(49.2% 0.234 310.9);
Tailwind
colors: {
  custom: {
    50: '#b268d3',
    500: '#8a16bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a16bf;
$custom-light: #b268d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a16bf",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 191
  },
  "hsl": {
    "h": 281.183,
    "s": 79.343,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.23435,
    "h": 310.9
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#8A16BF
secondary
#83D15F
accent
#F6326F
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120714
muted
#817A83

Preview Lab

Preview with #8A16BF

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

Preview Lab → · Contrast checker → · Palette generator →

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