#8F1E87#8F1E87

#8F1E87 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.186 H 331.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F1E87
RGBrgb(143, 30, 135)
HSLhsl(304, 65%, 34%)
HSVhsv(304, 79%, 56%)
CMYKcmyk(0%, 79%, 5.6%, 43.9%)
CIE-LABlab(35.04, 57.02, -32.32)
CIE-LCHlch(35.04, 65.54, 330.45°)
OKLaboklab(46.47% 0.1629 -0.0891)
OKLCHoklch(46.47% 0.186 331.3)
XYZxyz(16.1651, 8.5188, 23.7099)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E87 #1E8F26
analogous
#5F1E8F #8F1E87 #8F1E4F
triadic
#8F1E87 #878F1E #1E878F
tetradic
#8F1E87 #8F5F1E #1E8F26 #1E4F8F
square
#8F1E87 #8F5F1E #1E8F26 #1E4F8F
split-complementary
#8F1E87 #4F8F1E #1E8F5F
monochromatic
#2A0927 #5C1357 #8F1E87 #C229B7 #DA4ED0

Accessibility & contrast

On white

7.77
#8F1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1E87
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E87#FFFFFF#000000##FFFFFF
##8F1E871.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12488A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#952D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1e87;
/* rgb */ color: rgb(143, 30, 135);
/* oklch */ color: oklch(46.5% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#b368aa',
    500: '#8f1e87',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e87;
$custom-light: #b368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e87",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 304.248,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46467,
    "c": 0.18568,
    "h": 331.3
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#8F1E87
secondary
#4CBC54
accent
#E84B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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