#8E218E#8E218E

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

Color values

HEX#8E218E
RGBrgb(142, 33, 142)
HSLhsl(300, 62%, 34%)
HSVhsv(300, 77%, 56%)
CMYKcmyk(0%, 76.8%, 0%, 44.3%)
CIE-LABlab(35.58, 57.05, -35.79)
CIE-LCHlch(35.58, 67.35, 327.89°)
OKLaboklab(46.95% 0.1592 -0.0992)
OKLCHoklch(46.95% 0.188 328.1)
XYZxyz(16.5815, 8.7927, 26.4098)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E218E #218E21
analogous
#58218E #8E218E #8E2158
triadic
#8E218E #8E8E21 #218E8E
tetradic
#8E218E #8E5821 #218E21 #21588E
square
#8E218E #8E5821 #218E21 #21588E
split-complementary
#8E218E #588E21 #218E58
monochromatic
#2B0A2B #5C155C #8E218E #C02DC0 #D752D7

Accessibility & contrast

On white

7.61
#8E218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E218E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E218E#FFFFFF#000000##FFFFFF
##8E218E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B91
Deuteranopia (green-blind)
#40598B
Tritanopia (blue-blind)
#933356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e218e;
/* rgb */ color: rgb(142, 33, 142);
/* oklch */ color: oklch(46.9% 0.188 328.1);
Tailwind
colors: {
  custom: {
    50: '#b369af',
    500: '#8e218e',
    950: '#000000',
  },
}
SCSS
$custom: #8e218e;
$custom-light: #b369af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e218e",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.1876,
    "h": 328.1
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#8E218E
secondary
#50BA50
accent
#E54242
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E218E

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

Preview Lab → · Contrast checker → · Palette generator →

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