#8F1281#8F1281

#8F1281 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.191 H 333.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8F1281
RGBrgb(143, 18, 129)
HSLhsl(307, 78%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 87.4%, 9.8%, 43.9%)
CIE-LABlab(33.69, 59.04, -30.73)
CIE-LCHlch(33.69, 66.56, 332.50°)
OKLaboklab(45.39% 0.1715 -0.0844)
OKLCHoklch(45.39% 0.191 333.8)
XYZxyz(15.5066, 7.8587, 21.4648)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1281 #128F20
analogous
#5F128F #8F1281 #8F1243
triadic
#8F1281 #818F12 #12818F
tetradic
#8F1281 #8F5F12 #128F20 #12438F
square
#8F1281 #8F5F12 #128F20 #12438F
split-complementary
#8F1281 #438F12 #128F5F
monochromatic
#22041F #590B50 #8F1281 #C519B2 #E636D2

Accessibility & contrast

On white

8.17
#8F1281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1281
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1281#FFFFFF#000000##FFFFFF
##8F12811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4484
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#96234C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1281;
/* rgb */ color: rgb(143, 18, 129);
/* oklch */ color: oklch(45.4% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#b464a6',
    500: '#8f1281',
    950: '#000000',
  },
}
SCSS
$custom: #8f1281;
$custom-light: #b464a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1281",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 306.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.19112,
    "h": 333.8
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#8F1281
secondary
#3AC349
accent
#F44934
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1281

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

Preview Lab → · Contrast checker → · Palette generator →

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