#8E148F#8E148F

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

Color values

HEX#8E148F
RGBrgb(142, 20, 143)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 56%)
CMYKcmyk(0.7%, 86%, 0%, 43.9%)
CIE-LABlab(34.47, 60.61, -38.18)
CIE-LCHlch(34.47, 71.64, 327.79°)
OKLaboklab(46.18% 0.1688 -0.1061)
OKLCHoklch(46.18% 0.199 327.8)
XYZxyz(16.3632, 8.2355, 26.7091)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E148F #158F14
analogous
#51148F #8E148F #8F1453
triadic
#8E148F #8F8E14 #148F8E
tetradic
#8E148F #8F5114 #158F14 #14538F
square
#8E148F #8F5114 #158F14 #14538F
split-complementary
#8E148F #538F14 #148F51
monochromatic
#230524 #590C59 #8E148F #C31CC5 #E23AE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E148F#FFFFFF#000000##FFFFFF
##8E148F1.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)
#004792
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#932D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e148f;
/* rgb */ color: rgb(142, 20, 143);
/* oklch */ color: oklch(46.2% 0.199 327.8);
Tailwind
colors: {
  custom: {
    50: '#b365b0',
    500: '#8e148f',
    950: '#000000',
  },
}
SCSS
$custom: #8e148f;
$custom-light: #b365b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e148f",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 299.512,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.19936,
    "h": 327.8
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#8E148F
secondary
#3DC33C
accent
#F23637
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E148F

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

Preview Lab → · Contrast checker → · Palette generator →

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