#8F1682#8F1682

#8F1682 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.189 H 333.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8F1682
RGBrgb(143, 22, 130)
HSLhsl(306, 73%, 32%)
HSVhsv(306, 85%, 56%)
CMYKcmyk(0%, 84.6%, 9.1%, 43.9%)
CIE-LABlab(34.04, 58.33, -30.80)
CIE-LCHlch(34.04, 65.97, 332.16°)
OKLaboklab(45.66% 0.1689 -0.0847)
OKLCHoklch(45.66% 0.189 333.4)
XYZxyz(15.6440, 8.0266, 21.8401)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1682 #168F23
analogous
#5F168F #8F1682 #8F1646
triadic
#8F1682 #828F16 #16828F
tetradic
#8F1682 #8F5F16 #168F23 #16468F
square
#8F1682 #8F5F16 #168F23 #16468F
split-complementary
#8F1682 #468F16 #168F5F
monochromatic
#250622 #5A0E52 #8F1682 #C41EB2 #E13ED0

Accessibility & contrast

On white

8.06
#8F1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1682
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1682#FFFFFF#000000##FFFFFF
##8F16821.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#96254D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1682;
/* rgb */ color: rgb(143, 22, 130);
/* oklch */ color: oklch(45.7% 0.189 333.4);
Tailwind
colors: {
  custom: {
    50: '#b465a7',
    500: '#8f1682',
    950: '#000000',
  },
}
SCSS
$custom: #8f1682;
$custom-light: #b465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1682",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 306.446,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.18896,
    "h": 333.4
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#8F1682
secondary
#3FC14D
accent
#F04C38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1682

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

Preview Lab → · Contrast checker → · Palette generator →

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