#8F16B4#8F16B4

#8F16B4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 49.0% C 0.227 H 315.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F16B4
RGBrgb(143, 22, 180)
HSLhsl(286, 78%, 40%)
HSVhsv(286, 88%, 71%)
CMYKcmyk(20.6%, 87.8%, 0%, 29.4%)
CIE-LABlab(37.32, 66.85, -55.94)
CIE-LCHlch(37.32, 87.16, 320.08°)
OKLaboklab(49.01% 0.1628 -0.1581)
OKLCHoklch(49.01% 0.227 315.8)
XYZxyz(19.8515, 9.7096, 43.9996)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F16B4 #3BB416
analogous
#4016B4 #8F16B4 #B4168A
triadic
#8F16B4 #B48F16 #16B48F
tetradic
#8F16B4 #B44016 #3BB416 #168AB4
square
#8F16B4 #B44016 #3BB416 #168AB4
split-complementary
#8F16B4 #8AB416 #16B440
monochromatic
#380947 #640F7D #8F16B4 #B723E4 #C95AEB

Accessibility & contrast

On white

7.14
#8F16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F16B4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F16B4#FFFFFF#000000##FFFFFF
##8F16B41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#8C416A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f16b4;
/* rgb */ color: rgb(143, 22, 180);
/* oklch */ color: oklch(49.0% 0.227 315.8);
Tailwind
colors: {
  custom: {
    50: '#b568cb',
    500: '#8f16b4',
    950: '#000000',
  },
}
SCSS
$custom: #8f16b4;
$custom-light: #b568cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f16b4",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 285.949,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.22693,
    "h": 315.8
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#8F16B4
secondary
#73CE58
accent
#F53360
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8F16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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