#8F218E#8F218E

#8F218E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.188 H 328.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8F218E
RGBrgb(143, 33, 142)
HSLhsl(301, 63%, 35%)
HSVhsv(301, 77%, 56%)
CMYKcmyk(0%, 76.9%, 0.7%, 43.9%)
CIE-LABlab(35.76, 57.26, -35.51)
CIE-LCHlch(35.76, 67.38, 328.20°)
OKLaboklab(47.11% 0.1603 -0.0984)
OKLCHoklch(47.11% 0.188 328.5)
XYZxyz(16.7539, 8.8816, 26.4178)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F218E #218F22
analogous
#59218F #8F218E #8F2157
triadic
#8F218E #8E8F21 #218E8F
tetradic
#8F218E #8F5921 #218F22 #21578F
square
#8F218E #8F5921 #218F22 #21578F
split-complementary
#8F218E #578F21 #218F59
monochromatic
#2C0A2B #5D165D #8F218E #C12CBF #D753D6

Accessibility & contrast

On white

7.56
#8F218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F218E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F218E#FFFFFF#000000##FFFFFF
##8F218E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#943356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f218e;
/* rgb */ color: rgb(143, 33, 142);
/* oklch */ color: oklch(47.1% 0.188 328.5);
Tailwind
colors: {
  custom: {
    50: '#b36aaf',
    500: '#8f218e',
    950: '#000000',
  },
}
SCSS
$custom: #8f218e;
$custom-light: #b36aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f218e",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 300.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.18808,
    "h": 328.5
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#8F218E
secondary
#51BB52
accent
#E64442
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F218E

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

Preview Lab → · Contrast checker → · Palette generator →

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