#8F1687#8F1687

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

Color values

HEX#8F1687
RGBrgb(143, 22, 135)
HSLhsl(304, 73%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 84.6%, 5.6%, 43.9%)
CIE-LABlab(34.32, 59.10, -33.46)
CIE-LCHlch(34.32, 67.92, 330.48°)
OKLaboklab(45.96% 0.1689 -0.0924)
OKLCHoklch(45.96% 0.193 331.3)
XYZxyz(15.9878, 8.1641, 23.6508)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1687 #168F1E
analogous
#5B168F #8F1687 #8F164B
triadic
#8F1687 #878F16 #16878F
tetradic
#8F1687 #8F5B16 #168F1E #164B8F
square
#8F1687 #8F5B16 #168F1E #164B8F
split-complementary
#8F1687 #4B8F16 #168F5B
monochromatic
#250623 #5A0E55 #8F1687 #C41EB9 #E13ED7

Accessibility & contrast

On white

7.98
#8F1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1687
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1687#FFFFFF#000000##FFFFFF
##8F16871.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#952850
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1687;
/* rgb */ color: rgb(143, 22, 135);
/* oklch */ color: oklch(46.0% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#8f1687',
    950: '#000000',
  },
}
SCSS
$custom: #8f1687;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1687",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 303.967,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.19253,
    "h": 331.3
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#8F1687
secondary
#3FC148
accent
#F04438
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1687

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

Preview Lab → · Contrast checker → · Palette generator →

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