#8F1280#8F1280

#8F1280 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.190 H 334.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8F1280
RGBrgb(143, 18, 128)
HSLhsl(307, 78%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 87.4%, 10.5%, 43.9%)
CIE-LABlab(33.63, 58.89, -30.20)
CIE-LCHlch(33.63, 66.18, 332.86°)
OKLaboklab(45.34% 0.1714 -0.0829)
OKLCHoklch(45.34% 0.19 334.2)
XYZxyz(15.4405, 7.8322, 21.1165)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1280 #128F21
analogous
#60128F #8F1280 #8F1242
triadic
#8F1280 #808F12 #12808F
tetradic
#8F1280 #8F6012 #128F21 #12428F
square
#8F1280 #8F6012 #128F21 #12428F
split-complementary
#8F1280 #428F12 #128F60
monochromatic
#22041F #590B4F #8F1280 #C519B1 #E636D1

Accessibility & contrast

On white

8.18
#8F1280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F1280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1280
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1280#FFFFFF#000000##FFFFFF
##8F12801.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#96224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1280;
/* rgb */ color: rgb(143, 18, 128);
/* oklch */ color: oklch(45.3% 0.190 334.2);
Tailwind
colors: {
  custom: {
    50: '#b464a5',
    500: '#8f1280',
    950: '#000000',
  },
}
SCSS
$custom: #8f1280;
$custom-light: #b464a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1280",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 307.2,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.19043,
    "h": 334.2
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#8F1280
secondary
#3AC34A
accent
#F44B34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1280

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

Preview Lab → · Contrast checker → · Palette generator →

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