#8F1282#8F1282

#8F1282 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.192 H 333.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8F1282
RGBrgb(143, 18, 130)
HSLhsl(306, 78%, 32%)
HSVhsv(306, 87%, 56%)
CMYKcmyk(0%, 87.4%, 9.1%, 43.9%)
CIE-LABlab(33.74, 59.19, -31.27)
CIE-LCHlch(33.74, 66.94, 332.15°)
OKLaboklab(45.45% 0.1715 -0.086)
OKLCHoklch(45.45% 0.192 333.4)
XYZxyz(15.5734, 7.8854, 21.8166)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1282 #128F1F
analogous
#5E128F #8F1282 #8F1244
triadic
#8F1282 #828F12 #12828F
tetradic
#8F1282 #8F5E12 #128F1F #12448F
square
#8F1282 #8F5E12 #128F1F #12448F
split-complementary
#8F1282 #448F12 #128F5E
monochromatic
#22041F #590B51 #8F1282 #C519B3 #E636D3

Accessibility & contrast

On white

8.15
#8F1282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F1282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1282
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1282#FFFFFF#000000##FFFFFF
##8F12821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#96234D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1282;
/* rgb */ color: rgb(143, 18, 130);
/* oklch */ color: oklch(45.5% 0.192 333.4);
Tailwind
colors: {
  custom: {
    50: '#b464a7',
    500: '#8f1282',
    950: '#000000',
  },
}
SCSS
$custom: #8f1282;
$custom-light: #b464a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1282",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 130
  },
  "hsl": {
    "h": 306.24,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.19181,
    "h": 333.4
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#8F1282
secondary
#3AC348
accent
#F44834
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F1282

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

Preview Lab → · Contrast checker → · Palette generator →

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