#8F137F#8F137F

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

Color values

HEX#8F137F
RGBrgb(143, 19, 127)
HSLhsl(308, 77%, 32%)
HSVhsv(308, 87%, 56%)
CMYKcmyk(0%, 86.7%, 11.2%, 43.9%)
CIE-LABlab(33.65, 58.54, -29.55)
CIE-LCHlch(33.65, 65.58, 333.22°)
OKLaboklab(45.33% 0.1708 -0.081)
OKLCHoklch(45.33% 0.189 334.6)
XYZxyz(15.3915, 7.8391, 20.7771)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F137F #138F23
analogous
#61138F #8F137F #8F1341
triadic
#8F137F #7F8F13 #137F8F
tetradic
#8F137F #8F6113 #138F23 #13418F
square
#8F137F #8F6113 #138F23 #13418F
split-complementary
#8F137F #418F13 #138F61
monochromatic
#23051F #590C4F #8F137F #C51AAF #E538CE

Accessibility & contrast

On white

8.18
#8F137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F137F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F137F#FFFFFF#000000##FFFFFF
##8F137F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#96224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f137f;
/* rgb */ color: rgb(143, 19, 127);
/* oklch */ color: oklch(45.3% 0.189 334.6);
Tailwind
colors: {
  custom: {
    50: '#b464a4',
    500: '#8f137f',
    950: '#000000',
  },
}
SCSS
$custom: #8f137f;
$custom-light: #b464a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f137f",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 307.742,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.18906,
    "h": 334.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#8F137F
secondary
#3BC34C
accent
#F34D35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F137F

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

Preview Lab → · Contrast checker → · Palette generator →

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