#8F1983#8F1983

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

Color values

HEX#8F1983
RGBrgb(143, 25, 131)
HSLhsl(306, 70%, 33%)
HSVhsv(306, 83%, 56%)
CMYKcmyk(0%, 82.5%, 8.4%, 43.9%)
CIE-LABlab(34.34, 57.76, -30.94)
CIE-LCHlch(34.34, 65.52, 331.82°)
OKLaboklab(45.9% 0.1668 -0.0851)
OKLCHoklch(45.9% 0.187 333)
XYZxyz(15.7722, 8.1750, 22.2156)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1983 #198F25
analogous
#60198F #8F1983 #8F1948
triadic
#8F1983 #838F19 #19838F
tetradic
#8F1983 #8F6019 #198F25 #19488F
square
#8F1983 #8F6019 #198F25 #19488F
split-complementary
#8F1983 #488F19 #198F60
monochromatic
#270724 #5B1053 #8F1983 #C322B3 #DE44CF

Accessibility & contrast

On white

7.97
#8F1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1983
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1983#FFFFFF#000000##FFFFFF
##8F19831.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114686
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#96284E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1983;
/* rgb */ color: rgb(143, 25, 131);
/* oklch */ color: oklch(45.9% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#b466a7',
    500: '#8f1983',
    950: '#000000',
  },
}
SCSS
$custom: #8f1983;
$custom-light: #b466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1983",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 306.102,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.18726,
    "h": 333
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#8F1983
secondary
#44BF51
accent
#ED4D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F1983

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

Preview Lab → · Contrast checker → · Palette generator →

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