#8F138C#8F138C

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

Color values

HEX#8F138C
RGBrgb(143, 19, 140)
HSLhsl(301, 77%, 32%)
HSVhsv(301, 87%, 56%)
CMYKcmyk(0%, 86.7%, 2.1%, 43.9%)
CIE-LABlab(34.40, 60.53, -36.44)
CIE-LCHlch(34.40, 70.65, 328.95°)
OKLaboklab(46.1% 0.1706 -0.101)
OKLCHoklch(46.1% 0.198 329.4)
XYZxyz(16.2941, 8.2001, 25.5305)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F138C #138F16
analogous
#54138F #8F138C #8F134E
triadic
#8F138C #8C8F13 #138C8F
tetradic
#8F138C #8F5413 #138F16 #134E8F
square
#8F138C #8F5413 #138F16 #134E8F
split-complementary
#8F138C #4E8F13 #138F54
monochromatic
#230522 #590C57 #8F138C #C51AC1 #E538E0

Accessibility & contrast

On white

7.96
#8F138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F138C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F138C#FFFFFF#000000##FFFFFF
##8F138C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#942A53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f138c;
/* rgb */ color: rgb(143, 19, 140);
/* oklch */ color: oklch(46.1% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#b465ae',
    500: '#8f138c',
    950: '#000000',
  },
}
SCSS
$custom: #8f138c;
$custom-light: #b465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f138c",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 301.452,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.19826,
    "h": 329.4
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#8F138C
secondary
#3BC33E
accent
#F33935
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F138C

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

Preview Lab → · Contrast checker → · Palette generator →

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