#8F1882#8F1882

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

Color values

HEX#8F1882
RGBrgb(143, 24, 130)
HSLhsl(307, 71%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 83.2%, 9.1%, 43.9%)
CIE-LABlab(34.20, 57.85, -30.54)
CIE-LCHlch(34.20, 65.42, 332.17°)
OKLaboklab(45.78% 0.1675 -0.0839)
OKLCHoklch(45.78% 0.187 333.4)
XYZxyz(15.6837, 8.1060, 21.8534)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1882 #188F25
analogous
#61188F #8F1882 #8F1846
triadic
#8F1882 #828F18 #18828F
tetradic
#8F1882 #8F6118 #188F25 #18468F
square
#8F1882 #8F6118 #188F25 #18468F
split-complementary
#8F1882 #468F18 #188F61
monochromatic
#260623 #5B0F52 #8F1882 #C321B2 #DF42CE

Accessibility & contrast

On white

8.01
#8F1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1882
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1882#FFFFFF#000000##FFFFFF
##8F18821.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114685
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#96274E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1882;
/* rgb */ color: rgb(143, 24, 130);
/* oklch */ color: oklch(45.8% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#8f1882',
    950: '#000000',
  },
}
SCSS
$custom: #8f1882;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1882",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 306.555,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.18738,
    "h": 333.4
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#8F1882
secondary
#43C050
accent
#EE4D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1882

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

Preview Lab → · Contrast checker → · Palette generator →

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