#8E207E#8E207E

#8E207E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 334.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E207E
RGBrgb(142, 32, 126)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 77%, 56%)
CMYKcmyk(0%, 77.5%, 11.3%, 44.3%)
CIE-LABlab(34.58, 54.78, -27.46)
CIE-LCHlch(34.58, 61.27, 333.38°)
OKLaboklab(45.95% 0.1597 -0.0751)
OKLCHoklch(45.95% 0.177 334.8)
XYZxyz(15.4379, 8.2915, 20.5220)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207E #208E30
analogous
#67208E #8E207E #8E2047
triadic
#8E207E #7E8E20 #207E8E
tetradic
#8E207E #8E6720 #208E30 #20478E
square
#8E207E #8E6720 #208E30 #20478E
split-complementary
#8E207E #478E20 #208E67
monochromatic
#2A0925 #5C1552 #8E207E #C02BAA #D851C4

Accessibility & contrast

On white

7.90
#8E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E207E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207E#FFFFFF#000000##FFFFFF
##8E207E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#952A4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207e;
/* rgb */ color: rgb(142, 32, 126);
/* oklch */ color: oklch(45.9% 0.176 334.8);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8e207e',
    950: '#000000',
  },
}
SCSS
$custom: #8e207e;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207e",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 308.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.1765,
    "h": 334.8
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#8E207E
secondary
#4FBB5F
accent
#E65A42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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