#8F1982#8F1982

#8F1982 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.187 H 333.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F1982
RGBrgb(143, 25, 130)
HSLhsl(307, 70%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 82.5%, 9.1%, 43.9%)
CIE-LABlab(34.29, 57.60, -30.41)
CIE-LCHlch(34.29, 65.14, 332.17°)
OKLaboklab(45.84% 0.1668 -0.0835)
OKLCHoklch(45.84% 0.187 333.4)
XYZxyz(15.7047, 8.1480, 21.8604)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1982 #198F26
analogous
#61198F #8F1982 #8F1947
triadic
#8F1982 #828F19 #19828F
tetradic
#8F1982 #8F6119 #198F26 #19478F
square
#8F1982 #8F6119 #198F26 #19478F
split-complementary
#8F1982 #478F19 #198F61
monochromatic
#270723 #5B1053 #8F1982 #C322B1 #DE44CD

Accessibility & contrast

On white

7.99
#8F1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1982
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1982#FFFFFF#000000##FFFFFF
##8F19821.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#96274E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1982;
/* rgb */ color: rgb(143, 25, 130);
/* oklch */ color: oklch(45.8% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#8f1982',
    950: '#000000',
  },
}
SCSS
$custom: #8f1982;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1982",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 306.61,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.18654,
    "h": 333.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#8F1982
secondary
#44BF52
accent
#ED4E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1982

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

Preview Lab → · Contrast checker → · Palette generator →

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