#8F1688#8F1688

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

Color values

HEX#8F1688
RGBrgb(143, 22, 136)
HSLhsl(303, 73%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 84.6%, 4.9%, 43.9%)
CIE-LABlab(34.38, 59.26, -33.99)
CIE-LCHlch(34.38, 68.31, 330.16°)
OKLaboklab(46.02% 0.1689 -0.0939)
OKLCHoklch(46.02% 0.193 330.9)
XYZxyz(16.0585, 8.1924, 24.0233)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1688 #168F1D
analogous
#59168F #8F1688 #8F164C
triadic
#8F1688 #888F16 #16888F
tetradic
#8F1688 #8F5916 #168F1D #164C8F
square
#8F1688 #8F5916 #168F1D #164C8F
split-complementary
#8F1688 #4C8F16 #168F59
monochromatic
#250623 #5A0E56 #8F1688 #C41EBA #E13ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1688#FFFFFF#000000##FFFFFF
##8F16881.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)
#00478B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#952951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1688;
/* rgb */ color: rgb(143, 22, 136);
/* oklch */ color: oklch(46.0% 0.193 330.9);
Tailwind
colors: {
  custom: {
    50: '#b466ab',
    500: '#8f1688',
    950: '#000000',
  },
}
SCSS
$custom: #8f1688;
$custom-light: #b466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1688",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 303.471,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.19326,
    "h": 330.9
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#8F1688
secondary
#3FC147
accent
#F04238
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1688

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

Preview Lab → · Contrast checker → · Palette generator →

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