#8F1684#8F1684

#8F1684 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 332.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8F1684
RGBrgb(143, 22, 132)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 84.6%, 7.7%, 43.9%)
CIE-LABlab(34.15, 58.64, -31.87)
CIE-LCHlch(34.15, 66.74, 331.48°)
OKLaboklab(45.78% 0.169 -0.0878)
OKLCHoklch(45.78% 0.19 332.6)
XYZxyz(15.7795, 8.0808, 22.5540)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1684 #168F21
analogous
#5E168F #8F1684 #8F1647
triadic
#8F1684 #848F16 #16848F
tetradic
#8F1684 #8F5E16 #168F21 #16478F
square
#8F1684 #8F5E16 #168F21 #16478F
split-complementary
#8F1684 #478F16 #168F5E
monochromatic
#250622 #5A0E53 #8F1684 #C41EB5 #E13ED2

Accessibility & contrast

On white

8.03
#8F1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1684
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1684#FFFFFF#000000##FFFFFF
##8F16841.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#96274E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1684;
/* rgb */ color: rgb(143, 22, 132);
/* oklch */ color: oklch(45.8% 0.190 332.6);
Tailwind
colors: {
  custom: {
    50: '#b465a8',
    500: '#8f1684',
    950: '#000000',
  },
}
SCSS
$custom: #8f1684;
$custom-light: #b465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1684",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 305.455,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.19038,
    "h": 332.6
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#8F1684
secondary
#3FC14B
accent
#F04938
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1684

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

Preview Lab → · Contrast checker → · Palette generator →

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