#8F219A#8F219A

#8F219A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 323.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F219A
RGBrgb(143, 33, 154)
HSLhsl(295, 65%, 37%)
HSVhsv(295, 79%, 60%)
CMYKcmyk(7.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(36.48, 59.33, -41.68)
CIE-LCHlch(36.48, 72.50, 324.91°)
OKLaboklab(47.86% 0.1597 -0.1164)
OKLCHoklch(47.86% 0.198 323.9)
XYZxyz(17.7038, 9.2616, 31.4208)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219A #2C9A21
analogous
#52219A #8F219A #9A2169
triadic
#8F219A #9A8F21 #219A8F
tetradic
#8F219A #9A5221 #2C9A21 #21699A
square
#8F219A #9A5221 #2C9A21 #21699A
split-complementary
#8F219A #699A21 #219A52
monochromatic
#310B35 #601668 #8F219A #BE2CCC #D05ADC

Accessibility & contrast

On white

7.36
#8F219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F219A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219A#FFFFFF#000000##FFFFFF
##8F219A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#92395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f219a;
/* rgb */ color: rgb(143, 33, 154);
/* oklch */ color: oklch(47.9% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#b46ab8',
    500: '#8f219a',
    950: '#000000',
  },
}
SCSS
$custom: #8f219a;
$custom-light: #b46ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219a",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 294.545,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.19761,
    "h": 323.9
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#8F219A
secondary
#61C057
accent
#E8404F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F219A

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

Preview Lab → · Contrast checker → · Palette generator →

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