#8F1284#8F1284

#8F1284 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.193 H 332.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F1284
RGBrgb(143, 18, 132)
HSLhsl(305, 78%, 32%)
HSVhsv(305, 87%, 56%)
CMYKcmyk(0%, 87.4%, 7.7%, 43.9%)
CIE-LABlab(33.86, 59.49, -32.34)
CIE-LCHlch(33.86, 67.71, 331.48°)
OKLaboklab(45.57% 0.1715 -0.0891)
OKLCHoklch(45.57% 0.193 332.5)
XYZxyz(15.7089, 7.9396, 22.5305)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1284 #128F1D
analogous
#5C128F #8F1284 #8F1246
triadic
#8F1284 #848F12 #12848F
tetradic
#8F1284 #8F5C12 #128F1D #12468F
square
#8F1284 #8F5C12 #128F1D #12468F
split-complementary
#8F1284 #468F12 #128F5C
monochromatic
#220420 #590B52 #8F1284 #C519B6 #E636D6

Accessibility & contrast

On white

8.12
#8F1284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1284
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1284#FFFFFF#000000##FFFFFF
##8F12841.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#96254E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1284;
/* rgb */ color: rgb(143, 18, 132);
/* oklch */ color: oklch(45.6% 0.193 332.5);
Tailwind
colors: {
  custom: {
    50: '#b464a8',
    500: '#8f1284',
    950: '#000000',
  },
}
SCSS
$custom: #8f1284;
$custom-light: #b464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1284",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 132
  },
  "hsl": {
    "h": 305.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.19321,
    "h": 332.5
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#8F1284
secondary
#3AC346
accent
#F44534
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1284

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

Preview Lab → · Contrast checker → · Palette generator →

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