#8E218F#8E218F

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

Color values

HEX#8E218F
RGBrgb(142, 33, 143)
HSLhsl(299, 63%, 35%)
HSVhsv(299, 77%, 56%)
CMYKcmyk(0.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(35.64, 57.21, -36.31)
CIE-LCHlch(35.64, 67.77, 327.60°)
OKLaboklab(47.01% 0.1592 -0.1008)
OKLCHoklch(47.01% 0.188 327.7)
XYZxyz(16.6569, 8.8229, 26.8069)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E218F #228F21
analogous
#57218F #8E218F #8F2159
triadic
#8E218F #8F8E21 #218F8E
tetradic
#8E218F #8F5721 #228F21 #21598F
square
#8E218F #8F5721 #228F21 #21598F
split-complementary
#8E218F #598F21 #218F57
monochromatic
#2B0A2C #5D165D #8E218F #BF2CC1 #D653D7

Accessibility & contrast

On white

7.60
#8E218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E218F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E218F#FFFFFF#000000##FFFFFF
##8E218F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#923357
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e218f;
/* rgb */ color: rgb(142, 33, 143);
/* oklch */ color: oklch(47.0% 0.188 327.7);
Tailwind
colors: {
  custom: {
    50: '#b369b0',
    500: '#8e218f',
    950: '#000000',
  },
}
SCSS
$custom: #8e218f;
$custom-light: #b369b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e218f",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 299.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.18838,
    "h": 327.7
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#8E218F
secondary
#52BB51
accent
#E64244
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E218F

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

Preview Lab → · Contrast checker → · Palette generator →

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