#8E128F#8E128F

#8E128F is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.1% C 0.201 H 327.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8E128F
RGBrgb(142, 18, 143)
HSLhsl(300, 78%, 32%)
HSVhsv(300, 87%, 56%)
CMYKcmyk(0.7%, 87.4%, 0%, 43.9%)
CIE-LABlab(34.33, 61.02, -38.40)
CIE-LCHlch(34.33, 72.10, 327.81°)
OKLaboklab(46.08% 0.1699 -0.1067)
OKLCHoklch(46.08% 0.201 327.9)
XYZxyz(16.3294, 8.1678, 26.6978)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E128F #138F12
analogous
#50128F #8E128F #8F1252
triadic
#8E128F #8F8E12 #128F8E
tetradic
#8E128F #8F5012 #138F12 #12528F
square
#8E128F #8F5012 #138F12 #12528F
split-complementary
#8E128F #528F12 #128F50
monochromatic
#220422 #580B59 #8E128F #C419C5 #E436E6

Accessibility & contrast

On white

7.97
#8E128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E128F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E128F#FFFFFF#000000##FFFFFF
##8E128F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#932C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e128f;
/* rgb */ color: rgb(142, 18, 143);
/* oklch */ color: oklch(46.1% 0.201 327.9);
Tailwind
colors: {
  custom: {
    50: '#b365b0',
    500: '#8e128f',
    950: '#000000',
  },
}
SCSS
$custom: #8e128f;
$custom-light: #b365b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e128f",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 299.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.20067,
    "h": 327.9
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#8E128F
secondary
#3BC33A
accent
#F43435
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8E128F

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

Preview Lab → · Contrast checker → · Palette generator →

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