#8F1880#8F1880

#8F1880 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.186 H 334.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F1880
RGBrgb(143, 24, 128)
HSLhsl(308, 71%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 83.2%, 10.5%, 43.9%)
CIE-LABlab(34.09, 57.55, -29.47)
CIE-LCHlch(34.09, 64.66, 332.89°)
OKLaboklab(45.67% 0.1675 -0.0808)
OKLCHoklch(45.67% 0.186 334.2)
XYZxyz(15.5508, 8.0528, 21.1532)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1880 #188F27
analogous
#62188F #8F1880 #8F1844
triadic
#8F1880 #808F18 #18808F
tetradic
#8F1880 #8F6218 #188F27 #18448F
square
#8F1880 #8F6218 #188F27 #18448F
split-complementary
#8F1880 #448F18 #188F62
monochromatic
#260622 #5B0F51 #8F1880 #C321AF #DF42CB

Accessibility & contrast

On white

8.05
#8F1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1880
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1880#FFFFFF#000000##FFFFFF
##8F18801.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144583
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#96254C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1880;
/* rgb */ color: rgb(143, 24, 128);
/* oklch */ color: oklch(45.7% 0.186 334.2);
Tailwind
colors: {
  custom: {
    50: '#b466a5',
    500: '#8f1880',
    950: '#000000',
  },
}
SCSS
$custom: #8f1880;
$custom-light: #b466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1880",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 307.563,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.18596,
    "h": 334.2
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#8F1880
secondary
#43C053
accent
#EE513A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1880

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

Preview Lab → · Contrast checker → · Palette generator →

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