#8F218D#8F218D

#8F218D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.187 H 328.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8F218D
RGBrgb(143, 33, 141)
HSLhsl(301, 63%, 35%)
HSVhsv(301, 77%, 56%)
CMYKcmyk(0%, 76.9%, 1.4%, 43.9%)
CIE-LABlab(35.70, 57.10, -34.99)
CIE-LCHlch(35.70, 66.96, 328.50°)
OKLaboklab(47.05% 0.1603 -0.0969)
OKLCHoklch(47.05% 0.187 328.9)
XYZxyz(16.6791, 8.8517, 26.0242)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F218D #218F23
analogous
#5A218F #8F218D #8F2156
triadic
#8F218D #8D8F21 #218D8F
tetradic
#8F218D #8F5A21 #218F23 #21568F
square
#8F218D #8F5A21 #218F23 #21568F
split-complementary
#8F218D #568F21 #218F5A
monochromatic
#2C0A2B #5D165C #8F218D #C12CBE #D753D5

Accessibility & contrast

On white

7.58
#8F218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8F218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F218D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F218D#FFFFFF#000000##FFFFFF
##8F218D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#943256
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f218d;
/* rgb */ color: rgb(143, 33, 141);
/* oklch */ color: oklch(47.0% 0.187 328.9);
Tailwind
colors: {
  custom: {
    50: '#b36aaf',
    500: '#8f218d',
    950: '#000000',
  },
}
SCSS
$custom: #8f218d;
$custom-light: #b36aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f218d",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 301.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.18731,
    "h": 328.9
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#8F218D
secondary
#51BB53
accent
#E64542
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F218D

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

Preview Lab → · Contrast checker → · Palette generator →

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