#8F137B#8F137B

#8F137B is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.186 H 336.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8F137B
RGBrgb(143, 19, 123)
HSLhsl(310, 77%, 32%)
HSVhsv(310, 87%, 56%)
CMYKcmyk(0%, 86.7%, 14%, 43.9%)
CIE-LABlab(33.43, 57.96, -27.38)
CIE-LCHlch(33.43, 64.10, 334.71°)
OKLaboklab(45.1% 0.1707 -0.0748)
OKLCHoklch(45.1% 0.186 336.3)
XYZxyz(15.1360, 7.7369, 19.4313)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F137B #138F27
analogous
#65138F #8F137B #8F133D
triadic
#8F137B #7B8F13 #137B8F
tetradic
#8F137B #8F6513 #138F27 #133D8F
square
#8F137B #8F6513 #138F27 #133D8F
split-complementary
#8F137B #3D8F13 #138F65
monochromatic
#23051E #590C4D #8F137B #C51AA9 #E538C9

Accessibility & contrast

On white

8.24
#8F137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F137B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F137B#FFFFFF#000000##FFFFFF
##8F137B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437E
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#971F49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f137b;
/* rgb */ color: rgb(143, 19, 123);
/* oklch */ color: oklch(45.1% 0.186 336.3);
Tailwind
colors: {
  custom: {
    50: '#b464a1',
    500: '#8f137b',
    950: '#000000',
  },
}
SCSS
$custom: #8f137b;
$custom-light: #b464a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f137b",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 309.677,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.18633,
    "h": 336.3
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#8F137B
secondary
#3BC351
accent
#F35335
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F137B

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

Preview Lab → · Contrast checker → · Palette generator →

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