#8F137E#8F137E

#8F137E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.188 H 335.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F137E
RGBrgb(143, 19, 126)
HSLhsl(308, 77%, 32%)
HSVhsv(308, 87%, 56%)
CMYKcmyk(0%, 86.7%, 11.9%, 43.9%)
CIE-LABlab(33.59, 58.40, -29.01)
CIE-LCHlch(33.59, 65.20, 333.58°)
OKLaboklab(45.27% 0.1708 -0.0795)
OKLCHoklch(45.27% 0.188 335)
XYZxyz(15.3267, 7.8132, 20.4355)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F137E #138F24
analogous
#62138F #8F137E #8F1340
triadic
#8F137E #7E8F13 #137E8F
tetradic
#8F137E #8F6213 #138F24 #13408F
square
#8F137E #8F6213 #138F24 #13408F
split-complementary
#8F137E #408F13 #138F62
monochromatic
#23051F #590C4E #8F137E #C51AAE #E538CD

Accessibility & contrast

On white

8.20
#8F137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F137E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F137E#FFFFFF#000000##FFFFFF
##8F137E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#96214A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f137e;
/* rgb */ color: rgb(143, 19, 126);
/* oklch */ color: oklch(45.3% 0.188 335.0);
Tailwind
colors: {
  custom: {
    50: '#b464a4',
    500: '#8f137e',
    950: '#000000',
  },
}
SCSS
$custom: #8f137e;
$custom-light: #b464a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f137e",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 308.226,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.18836,
    "h": 335
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F137E

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

Preview Lab → · Contrast checker → · Palette generator →

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