#8E207C#8E207C

#8E207C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.175 H 335.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E207C
RGBrgb(142, 32, 124)
HSLhsl(310, 63%, 34%)
HSVhsv(310, 77%, 56%)
CMYKcmyk(0%, 77.5%, 12.7%, 44.3%)
CIE-LABlab(34.48, 54.47, -26.37)
CIE-LCHlch(34.48, 60.52, 334.17°)
OKLaboklab(45.84% 0.1596 -0.072)
OKLCHoklch(45.84% 0.175 335.7)
XYZxyz(15.3102, 8.2404, 19.8491)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207C #208E32
analogous
#69208E #8E207C #8E2045
triadic
#8E207C #7C8E20 #207C8E
tetradic
#8E207C #8E6920 #208E32 #20458E
square
#8E207C #8E6920 #208E32 #20458E
split-complementary
#8E207C #458E20 #208E69
monochromatic
#2A0925 #5C1550 #8E207C #C02BA8 #D851C2

Accessibility & contrast

On white

7.93
#8E207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E207C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207C#FFFFFF#000000##FFFFFF
##8E207C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#95294C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207c;
/* rgb */ color: rgb(142, 32, 124);
/* oklch */ color: oklch(45.8% 0.175 335.7);
Tailwind
colors: {
  custom: {
    50: '#b368a2',
    500: '#8e207c',
    950: '#000000',
  },
}
SCSS
$custom: #8e207c;
$custom-light: #b368a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207c",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 309.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.17505,
    "h": 335.7
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8E207C
secondary
#4FBB61
accent
#E65C42
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E207C

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

Preview Lab → · Contrast checker → · Palette generator →

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