#8F128E#8F128E

#8F128E is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.200 H 328.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8F128E
RGBrgb(143, 18, 142)
HSLhsl(300, 78%, 32%)
HSVhsv(300, 87%, 56%)
CMYKcmyk(0%, 87.4%, 0.7%, 43.9%)
CIE-LABlab(34.45, 61.05, -37.59)
CIE-LCHlch(34.45, 71.69, 328.38°)
OKLaboklab(46.18% 0.1711 -0.1043)
OKLCHoklch(46.18% 0.2 328.6)
XYZxyz(16.4263, 8.2265, 26.3087)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F128E #128F13
analogous
#52128F #8F128E #8F1250
triadic
#8F128E #8E8F12 #128E8F
tetradic
#8F128E #8F5212 #128F13 #12508F
square
#8F128E #8F5212 #128F13 #12508F
split-complementary
#8F128E #508F12 #128F52
monochromatic
#220422 #590B58 #8F128E #C519C4 #E636E4

Accessibility & contrast

On white

7.94
#8F128E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F128E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F128E#FFFFFF#000000##FFFFFF
##8F128E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#942B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f128e;
/* rgb */ color: rgb(143, 18, 142);
/* oklch */ color: oklch(46.2% 0.200 328.6);
Tailwind
colors: {
  custom: {
    50: '#b465af',
    500: '#8f128e',
    950: '#000000',
  },
}
SCSS
$custom: #8f128e;
$custom-light: #b465af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f128e",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 142
  },
  "hsl": {
    "h": 300.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.20037,
    "h": 328.6
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#8F128E
secondary
#3AC33B
accent
#F43534
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F128E

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

Preview Lab → · Contrast checker → · Palette generator →

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