#8E208E#8E208E

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

Color values

HEX#8E208E
RGBrgb(142, 32, 142)
HSLhsl(300, 63%, 34%)
HSVhsv(300, 77%, 56%)
CMYKcmyk(0%, 77.5%, 0%, 44.3%)
CIE-LABlab(35.47, 57.35, -35.96)
CIE-LCHlch(35.47, 67.70, 327.91°)
OKLaboklab(46.87% 0.1601 -0.0997)
OKLCHoklch(46.87% 0.189 328.1)
XYZxyz(16.5541, 8.7380, 26.4007)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E208E #208E20
analogous
#57208E #8E208E #8E2057
triadic
#8E208E #8E8E20 #208E8E
tetradic
#8E208E #8E5720 #208E20 #20578E
square
#8E208E #8E5720 #208E20 #20578E
split-complementary
#8E208E #578E20 #208E57
monochromatic
#2A092A #5C155C #8E208E #C02BC0 #D851D8

Accessibility & contrast

On white

7.64
#8E208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E208E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E208E#FFFFFF#000000##FFFFFF
##8E208E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#933256
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e208e;
/* rgb */ color: rgb(142, 32, 142);
/* oklch */ color: oklch(46.9% 0.189 328.1);
Tailwind
colors: {
  custom: {
    50: '#b369af',
    500: '#8e208e',
    950: '#000000',
  },
}
SCSS
$custom: #8e208e;
$custom-light: #b369af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e208e",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46874,
    "c": 0.1886,
    "h": 328.1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#8E208E
secondary
#4FBB4F
accent
#E64242
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E208E

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

Preview Lab → · Contrast checker → · Palette generator →

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