#8F17A0#8F17A0

#8F17A0 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.211 H 322.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8F17A0
RGBrgb(143, 23, 160)
HSLhsl(293, 75%, 36%)
HSVhsv(293, 86%, 63%)
CMYKcmyk(10.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(35.97, 63.02, -46.14)
CIE-LCHlch(35.97, 78.10, 323.79°)
OKLaboklab(47.62% 0.1662 -0.1293)
OKLCHoklch(47.62% 0.211 322.1)
XYZxyz(17.9786, 8.9916, 34.0395)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F17A0 #28A017
analogous
#4A17A0 #8F17A0 #A0176C
triadic
#8F17A0 #A08F17 #17A08F
tetradic
#8F17A0 #A04A17 #28A017 #176CA0
square
#8F17A0 #A04A17 #28A017 #176CA0
split-complementary
#8F17A0 #6CA017 #17A04A
monochromatic
#2F0835 #5F0F6A #8F17A0 #BF1FD6 #D24CE5

Accessibility & contrast

On white

7.51
#8F17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F17A0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F17A0#FFFFFF#000000##FFFFFF
##8F17A01.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#91375F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f17a0;
/* rgb */ color: rgb(143, 23, 160);
/* oklch */ color: oklch(47.6% 0.211 322.1);
Tailwind
colors: {
  custom: {
    50: '#b467bd',
    500: '#8f17a0',
    950: '#000000',
  },
}
SCSS
$custom: #8f17a0;
$custom-light: #b467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f17a0",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 292.555,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4762,
    "c": 0.21058,
    "h": 322.1
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#8F17A0
secondary
#5BC74C
accent
#F1364E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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