#8F1A82#8F1A82

#8F1A82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.186 H 333.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F1A82
RGBrgb(143, 26, 130)
HSLhsl(307, 69%, 33%)
HSVhsv(307, 82%, 56%)
CMYKcmyk(0%, 81.8%, 9.1%, 43.9%)
CIE-LABlab(34.38, 57.35, -30.26)
CIE-LCHlch(34.38, 64.84, 332.18°)
OKLaboklab(45.9% 0.166 -0.0831)
OKLCHoklch(45.9% 0.186 333.4)
XYZxyz(15.7265, 8.1915, 21.8676)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A82 #1A8F27
analogous
#611A8F #8F1A82 #8F1A47
triadic
#8F1A82 #828F1A #1A828F
tetradic
#8F1A82 #8F611A #1A8F27 #1A478F
square
#8F1A82 #8F611A #1A8F27 #1A478F
split-complementary
#8F1A82 #478F1A #1A8F61
monochromatic
#270724 #5B1153 #8F1A82 #C323B1 #DD46CD

Accessibility & contrast

On white

7.96
#8F1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A82
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A82#FFFFFF#000000##FFFFFF
##8F1A821.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#96284E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1a82;
/* rgb */ color: rgb(143, 26, 130);
/* oklch */ color: oklch(45.9% 0.186 333.4);
Tailwind
colors: {
  custom: {
    50: '#b467a7',
    500: '#8f1a82',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a82;
$custom-light: #b467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a82",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 306.667,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.18568,
    "h": 333.4
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#8F1A82
secondary
#46BF53
accent
#EC4F3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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