#8E137D#8E137D

#8E137D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.187 H 335.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E137D
RGBrgb(142, 19, 125)
HSLhsl(308, 76%, 32%)
HSVhsv(308, 87%, 56%)
CMYKcmyk(0%, 86.6%, 12%, 44.3%)
CIE-LABlab(33.35, 58.04, -28.78)
CIE-LCHlch(33.35, 64.78, 333.63°)
OKLaboklab(45.05% 0.1698 -0.0788)
OKLCHoklch(45.05% 0.187 335.1)
XYZxyz(15.0901, 7.6986, 20.0893)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137D #138E24
analogous
#62138E #8E137D #8E133F
triadic
#8E137D #7D8E13 #137D8E
tetradic
#8E137D #8E6213 #138E24 #133F8E
square
#8E137D #8E6213 #138E24 #133F8E
split-complementary
#8E137D #3F8E13 #138E62
monochromatic
#22051E #580C4D #8E137D #C41AAD #E437CC

Accessibility & contrast

On white

8.27
#8E137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E137D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137D#FFFFFF#000000##FFFFFF
##8E137D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124380
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#95214A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e137d;
/* rgb */ color: rgb(142, 19, 125);
/* oklch */ color: oklch(45.0% 0.187 335.1);
Tailwind
colors: {
  custom: {
    50: '#b364a3',
    500: '#8e137d',
    950: '#000000',
  },
}
SCSS
$custom: #8e137d;
$custom-light: #b364a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137d",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 308.293,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.18719,
    "h": 335.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#8E137D
secondary
#3BC24D
accent
#F34F35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E137D

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

Preview Lab → · Contrast checker → · Palette generator →

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