#8E218D#8E218D

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

Color values

HEX#8E218D
RGBrgb(142, 33, 141)
HSLhsl(301, 62%, 34%)
HSVhsv(301, 77%, 56%)
CMYKcmyk(0%, 76.8%, 0.7%, 44.3%)
CIE-LABlab(35.52, 56.88, -35.27)
CIE-LCHlch(35.52, 66.93, 328.20°)
OKLaboklab(46.89% 0.1592 -0.0977)
OKLCHoklch(46.89% 0.187 328.5)
XYZxyz(16.5067, 8.7628, 26.0161)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E218D #218E22
analogous
#58218E #8E218D #8E2157
triadic
#8E218D #8D8E21 #218D8E
tetradic
#8E218D #8E5821 #218E22 #21578E
square
#8E218D #8E5821 #218E22 #21578E
split-complementary
#8E218D #578E21 #218E58
monochromatic
#2B0A2A #5C155C #8E218D #C02DBE #D752D6

Accessibility & contrast

On white

7.63
#8E218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E218D
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E218D#FFFFFF#000000##FFFFFF
##8E218D1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A90
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#933256
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e218d;
/* rgb */ color: rgb(142, 33, 141);
/* oklch */ color: oklch(46.9% 0.187 328.5);
Tailwind
colors: {
  custom: {
    50: '#b369af',
    500: '#8e218d',
    950: '#000000',
  },
}
SCSS
$custom: #8e218d;
$custom-light: #b369af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e218d",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 300.55,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.18682,
    "h": 328.5
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#8E218D
secondary
#50BA51
accent
#E54442
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E218D

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

Preview Lab → · Contrast checker → · Palette generator →

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