#8F137D#8F137D

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

Color values

HEX#8F137D
RGBrgb(143, 19, 125)
HSLhsl(309, 77%, 32%)
HSVhsv(309, 87%, 56%)
CMYKcmyk(0%, 86.7%, 12.6%, 43.9%)
CIE-LABlab(33.54, 58.25, -28.47)
CIE-LCHlch(33.54, 64.83, 333.96°)
OKLaboklab(45.22% 0.1708 -0.0779)
OKLCHoklch(45.22% 0.188 335.5)
XYZxyz(15.2625, 7.7875, 20.0974)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F137D #138F25
analogous
#63138F #8F137D #8F133F
triadic
#8F137D #7D8F13 #137D8F
tetradic
#8F137D #8F6313 #138F25 #133F8F
square
#8F137D #8F6313 #138F25 #133F8F
split-complementary
#8F137D #3F8F13 #138F63
monochromatic
#23051F #590C4E #8F137D #C51AAC #E538CB

Accessibility & contrast

On white

8.21
#8F137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F137D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F137D#FFFFFF#000000##FFFFFF
##8F137D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134380
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#97204A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f137d;
/* rgb */ color: rgb(143, 19, 125);
/* oklch */ color: oklch(45.2% 0.188 335.5);
Tailwind
colors: {
  custom: {
    50: '#b464a3',
    500: '#8f137d',
    950: '#000000',
  },
}
SCSS
$custom: #8f137d;
$custom-light: #b464a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f137d",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 308.71,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.18769,
    "h": 335.5
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#8F137D
secondary
#3BC34F
accent
#F35035
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F137D

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

Preview Lab → · Contrast checker → · Palette generator →

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