#8F1980#8F1980

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

Color values

HEX#8F1980
RGBrgb(143, 25, 128)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 82.5%, 10.5%, 43.9%)
CIE-LABlab(34.18, 57.30, -29.33)
CIE-LCHlch(34.18, 64.37, 332.89°)
OKLaboklab(45.73% 0.1667 -0.0804)
OKLCHoklch(45.73% 0.185 334.2)
XYZxyz(15.5718, 8.0948, 21.1602)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1980 #198F28
analogous
#63198F #8F1980 #8F1945
triadic
#8F1980 #808F19 #19808F
tetradic
#8F1980 #8F6319 #198F28 #19458F
square
#8F1980 #8F6319 #198F28 #19458F
split-complementary
#8F1980 #458F19 #198F63
monochromatic
#270723 #5B1051 #8F1980 #C322AF #DE44CB

Accessibility & contrast

On white

8.02
#8F1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1980
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1980#FFFFFF#000000##FFFFFF
##8F19801.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#96264D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1980;
/* rgb */ color: rgb(143, 25, 128);
/* oklch */ color: oklch(45.7% 0.185 334.2);
Tailwind
colors: {
  custom: {
    50: '#b466a5',
    500: '#8f1980',
    950: '#000000',
  },
}
SCSS
$custom: #8f1980;
$custom-light: #b466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1980",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 307.627,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.18512,
    "h": 334.2
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#8F1980
secondary
#44BF54
accent
#ED513B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1980

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

Preview Lab → · Contrast checker → · Palette generator →

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