#8E207F#8E207F

#8E207F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.177 H 334.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8E207F
RGBrgb(142, 32, 127)
HSLhsl(308, 63%, 34%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 77.5%, 10.6%, 44.3%)
CIE-LABlab(34.64, 54.93, -28.00)
CIE-LCHlch(34.64, 61.66, 332.99°)
OKLaboklab(46% 0.1598 -0.0767)
OKLCHoklch(46% 0.177 334.4)
XYZxyz(15.5028, 8.3175, 20.8635)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207F #208E2F
analogous
#66208E #8E207F #8E2048
triadic
#8E207F #7F8E20 #207F8E
tetradic
#8E207F #8E6620 #208E2F #20488E
square
#8E207F #8E6620 #208E2F #20488E
split-complementary
#8E207F #488E20 #208E66
monochromatic
#2A0926 #5C1552 #8E207F #C02BAC #D851C5

Accessibility & contrast

On white

7.89
#8E207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E207F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207F#FFFFFF#000000##FFFFFF
##8E207F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#952A4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207f;
/* rgb */ color: rgb(142, 32, 127);
/* oklch */ color: oklch(46.0% 0.177 334.4);
Tailwind
colors: {
  custom: {
    50: '#b368a4',
    500: '#8e207f',
    950: '#000000',
  },
}
SCSS
$custom: #8e207f;
$custom-light: #b368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207f",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 308.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.17724,
    "h": 334.4
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#8E207F
secondary
#4FBB5E
accent
#E65842
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E207F

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

Preview Lab → · Contrast checker → · Palette generator →

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