#8F218F#8F218F

#8F218F is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.189 H 328.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8F218F
RGBrgb(143, 33, 143)
HSLhsl(300, 63%, 35%)
HSVhsv(300, 77%, 56%)
CMYKcmyk(0%, 76.9%, 0%, 43.9%)
CIE-LABlab(35.81, 57.43, -36.03)
CIE-LCHlch(35.81, 67.80, 327.90°)
OKLaboklab(47.17% 0.1603 -0.0999)
OKLCHoklch(47.17% 0.189 328.1)
XYZxyz(16.8293, 8.9118, 26.8150)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F218F #218F21
analogous
#58218F #8F218F #8F2158
triadic
#8F218F #8F8F21 #218F8F
tetradic
#8F218F #8F5821 #218F21 #21588F
square
#8F218F #8F5821 #218F21 #21588F
split-complementary
#8F218F #588F21 #218F58
monochromatic
#2C0A2C #5D165D #8F218F #C12CC1 #D753D7

Accessibility & contrast

On white

7.55
#8F218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F218F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F218F#FFFFFF#000000##FFFFFF
##8F218F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#943357
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f218f;
/* rgb */ color: rgb(143, 33, 143);
/* oklch */ color: oklch(47.2% 0.189 328.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab0',
    500: '#8f218f',
    950: '#000000',
  },
}
SCSS
$custom: #8f218f;
$custom-light: #b36ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f218f",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.18887,
    "h": 328.1
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#8F218F
secondary
#51BB51
accent
#E64242
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F218F

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

Preview Lab → · Contrast checker → · Palette generator →

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