#8E207B#8E207B

#8E207B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.174 H 336.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E207B
RGBrgb(142, 32, 123)
HSLhsl(310, 63%, 34%)
HSVhsv(310, 77%, 56%)
CMYKcmyk(0%, 77.5%, 13.4%, 44.3%)
CIE-LABlab(34.43, 54.32, -25.82)
CIE-LCHlch(34.43, 60.14, 334.57°)
OKLaboklab(45.79% 0.1595 -0.0704)
OKLCHoklch(45.79% 0.174 336.2)
XYZxyz(15.2472, 8.2153, 19.5177)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207B #208E33
analogous
#6A208E #8E207B #8E2044
triadic
#8E207B #7B8E20 #207B8E
tetradic
#8E207B #8E6A20 #208E33 #20448E
square
#8E207B #8E6A20 #208E33 #20448E
split-complementary
#8E207B #448E20 #208E6A
monochromatic
#2A0924 #5C1550 #8E207B #C02BA6 #D851C0

Accessibility & contrast

On white

7.95
#8E207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E207B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207B#FFFFFF#000000##FFFFFF
##8E207B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#96284C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207b;
/* rgb */ color: rgb(142, 32, 123);
/* oklch */ color: oklch(45.8% 0.174 336.2);
Tailwind
colors: {
  custom: {
    50: '#b368a1',
    500: '#8e207b',
    950: '#000000',
  },
}
SCSS
$custom: #8e207b;
$custom-light: #b368a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207b",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 310.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.17434,
    "h": 336.2
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#8E207B
secondary
#4FBB62
accent
#E65E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E207B

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

Preview Lab → · Contrast checker → · Palette generator →

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