#8E209D#8E209D

#8E209D is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.201 H 322.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8E209D
RGBrgb(142, 32, 157)
HSLhsl(293, 66%, 37%)
HSVhsv(293, 80%, 62%)
CMYKcmyk(9.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(36.40, 59.96, -43.63)
CIE-LCHlch(36.40, 74.16, 323.96°)
OKLaboklab(47.83% 0.1591 -0.1221)
OKLCHoklch(47.83% 0.201 322.5)
XYZxyz(17.7570, 9.2192, 32.7359)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E209D #2F9D20
analogous
#50209D #8E209D #9D206E
triadic
#8E209D #9D8E20 #209D8E
tetradic
#8E209D #9D5020 #2F9D20 #206E9D
square
#8E209D #9D5020 #2F9D20 #206E9D
split-complementary
#8E209D #6E9D20 #209D50
monochromatic
#320B37 #60166A #8E209D #BC2AD0 #CE5ADD

Accessibility & contrast

On white

7.39
#8E209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E209D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E209D#FFFFFF#000000##FFFFFF
##8E209D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#345A9A
Tritanopia (blue-blind)
#903A5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e209d;
/* rgb */ color: rgb(142, 32, 157);
/* oklch */ color: oklch(47.8% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#b36aba',
    500: '#8e209d',
    950: '#000000',
  },
}
SCSS
$custom: #8e209d;
$custom-light: #b36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e209d",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 292.8,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.20055,
    "h": 322.5
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#8E209D
secondary
#64C157
accent
#E93F53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E209D

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

Preview Lab → · Contrast checker → · Palette generator →

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