#8F20AE#8F20AE

#8F20AE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.215 H 317.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F20AE
RGBrgb(143, 32, 174)
HSLhsl(287, 69%, 40%)
HSVhsv(287, 82%, 68%)
CMYKcmyk(17.8%, 81.6%, 0%, 31.8%)
CIE-LABlab(37.72, 63.28, -51.72)
CIE-LCHlch(37.72, 81.73, 320.74°)
OKLaboklab(49.15% 0.1579 -0.1458)
OKLCHoklch(49.15% 0.215 317.3)
XYZxyz(19.4831, 9.9295, 40.9265)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F20AE #3FAE20
analogous
#4820AE #8F20AE #AE2086
triadic
#8F20AE #AE8F20 #20AE8F
tetradic
#8F20AE #AE4820 #3FAE20 #2086AE
square
#8F20AE #AE4820 #3FAE20 #2086AE
split-complementary
#8F20AE #86AE20 #20AE48
monochromatic
#3A0D47 #65167A #8F20AE #B532D9 #C766E3

Accessibility & contrast

On white

7.03
#8F20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F20AE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F20AE#FFFFFF#000000##FFFFFF
##8F20AE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#8D4269
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f20ae;
/* rgb */ color: rgb(143, 32, 174);
/* oklch */ color: oklch(49.2% 0.215 317.3);
Tailwind
colors: {
  custom: {
    50: '#b46bc7',
    500: '#8f20ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f20ae;
$custom-light: #b46bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f20ae",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 286.901,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.21489,
    "h": 317.3
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#8F20AE
secondary
#78C862
accent
#EC3C62
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8F20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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