#8F219F#8F219F

#8F219F is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.202 H 322.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8F219F
RGBrgb(143, 33, 159)
HSLhsl(292, 66%, 38%)
HSVhsv(292, 79%, 62%)
CMYKcmyk(10.1%, 79.2%, 0%, 37.6%)
CIE-LABlab(36.80, 60.22, -44.19)
CIE-LCHlch(36.80, 74.70, 323.73°)
OKLaboklab(48.19% 0.1593 -0.1237)
OKLCHoklch(48.19% 0.202 322.2)
XYZxyz(18.1289, 9.4316, 33.6598)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F219F #319F21
analogous
#50219F #8F219F #9F2170
triadic
#8F219F #9F8F21 #219F8F
tetradic
#8F219F #9F5021 #319F21 #21709F
square
#8F219F #9F5021 #319F21 #21709F
split-complementary
#8F219F #709F21 #219F50
monochromatic
#340C3A #61166C #8F219F #BD2CD2 #CD5DDD

Accessibility & contrast

On white

7.28
#8F219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F219F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F219F#FFFFFF#000000##FFFFFF
##8F219F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#345B9C
Tritanopia (blue-blind)
#913B60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f219f;
/* rgb */ color: rgb(143, 33, 159);
/* oklch */ color: oklch(48.2% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#b46abc',
    500: '#8f219f',
    950: '#000000',
  },
}
SCSS
$custom: #8f219f;
$custom-light: #b46abc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f219f",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 292.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.20167,
    "h": 322.2
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#8F219F
secondary
#67C25A
accent
#E93F55
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F219F

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

Preview Lab → · Contrast checker → · Palette generator →

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