#8E207D#8E207D

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

Color values

HEX#8E207D
RGBrgb(142, 32, 125)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 77%, 56%)
CMYKcmyk(0%, 77.5%, 12%, 44.3%)
CIE-LABlab(34.53, 54.62, -26.91)
CIE-LCHlch(34.53, 60.89, 333.77°)
OKLaboklab(45.89% 0.1596 -0.0736)
OKLCHoklch(45.89% 0.176 335.3)
XYZxyz(15.3737, 8.2659, 20.1839)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207D #208E31
analogous
#68208E #8E207D #8E2046
triadic
#8E207D #7D8E20 #207D8E
tetradic
#8E207D #8E6820 #208E31 #20468E
square
#8E207D #8E6820 #208E31 #20468E
split-complementary
#8E207D #468E20 #208E68
monochromatic
#2A0925 #5C1551 #8E207D #C02BA9 #D851C3

Accessibility & contrast

On white

7.92
#8E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E207D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207D#FFFFFF#000000##FFFFFF
##8E207D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#95294D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207d;
/* rgb */ color: rgb(142, 32, 125);
/* oklch */ color: oklch(45.9% 0.176 335.3);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8e207d',
    950: '#000000',
  },
}
SCSS
$custom: #8e207d;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207d",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 309.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.17577,
    "h": 335.3
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#8E207D
secondary
#4FBB60
accent
#E65B42
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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