#8F138B#8F138B

#8F138B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 329.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F138B
RGBrgb(143, 19, 139)
HSLhsl(302, 77%, 32%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 86.7%, 2.8%, 43.9%)
CIE-LABlab(34.34, 60.37, -35.92)
CIE-LCHlch(34.34, 70.25, 329.25°)
OKLaboklab(46.04% 0.1707 -0.0995)
OKLCHoklch(46.04% 0.198 329.8)
XYZxyz(16.2207, 8.1708, 25.1439)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F138B #138F17
analogous
#55138F #8F138B #8F134D
triadic
#8F138B #8B8F13 #138B8F
tetradic
#8F138B #8F5513 #138F17 #134D8F
square
#8F138B #8F5513 #138F17 #134D8F
split-complementary
#8F138B #4D8F13 #138F55
monochromatic
#230522 #590C56 #8F138B #C51AC0 #E538DF

Accessibility & contrast

On white

7.97
#8F138B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F138B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F138B#FFFFFF#000000##FFFFFF
##8F138B1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#942952
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f138b;
/* rgb */ color: rgb(143, 19, 139);
/* oklch */ color: oklch(46.0% 0.198 329.8);
Tailwind
colors: {
  custom: {
    50: '#b465ad',
    500: '#8f138b',
    950: '#000000',
  },
}
SCSS
$custom: #8f138b;
$custom-light: #b465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f138b",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 139
  },
  "hsl": {
    "h": 301.935,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.19755,
    "h": 329.8
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#8F138B
secondary
#3BC33F
accent
#F33B35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F138B

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

Preview Lab → · Contrast checker → · Palette generator →

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