#8F138A#8F138A

#8F138A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.197 H 330.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F138A
RGBrgb(143, 19, 138)
HSLhsl(302, 77%, 32%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 86.7%, 3.5%, 43.9%)
CIE-LABlab(34.28, 60.22, -35.39)
CIE-LCHlch(34.28, 69.85, 329.55°)
OKLaboklab(45.98% 0.1707 -0.098)
OKLCHoklch(45.98% 0.197 330.2)
XYZxyz(16.1480, 8.1417, 24.7609)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F138A #138F18
analogous
#56138F #8F138A #8F134C
triadic
#8F138A #8A8F13 #138A8F
tetradic
#8F138A #8F5613 #138F18 #134C8F
square
#8F138A #8F5613 #138F18 #134C8F
split-complementary
#8F138A #4C8F13 #138F56
monochromatic
#230522 #590C56 #8F138A #C51ABE #E538DE

Accessibility & contrast

On white

7.99
#8F138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F138A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F138A#FFFFFF#000000##FFFFFF
##8F138A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#952951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f138a;
/* rgb */ color: rgb(143, 19, 138);
/* oklch */ color: oklch(46.0% 0.197 330.2);
Tailwind
colors: {
  custom: {
    50: '#b465ac',
    500: '#8f138a',
    950: '#000000',
  },
}
SCSS
$custom: #8f138a;
$custom-light: #b465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f138a",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 302.419,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.19682,
    "h": 330.2
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#8F138A
secondary
#3BC340
accent
#F33C35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F138A

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

Preview Lab → · Contrast checker → · Palette generator →

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