#8F1C83#8F1C83

#8F1C83 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.185 H 333.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F1C83
RGBrgb(143, 28, 131)
HSLhsl(306, 67%, 34%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 80.4%, 8.4%, 43.9%)
CIE-LABlab(34.62, 56.96, -30.50)
CIE-LCHlch(34.62, 64.61, 331.83°)
OKLaboklab(46.1% 0.1645 -0.0838)
OKLCHoklch(46.1% 0.185 333)
XYZxyz(15.8398, 8.3102, 22.2381)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C83 #1C8F28
analogous
#611C8F #8F1C83 #8F1C49
triadic
#8F1C83 #838F1C #1C838F
tetradic
#8F1C83 #8F611C #1C8F28 #1C498F
square
#8F1C83 #8F611C #1C8F28 #1C498F
split-complementary
#8F1C83 #498F1C #1C8F61
monochromatic
#290825 #5C1254 #8F1C83 #C226B2 #DC4ACC

Accessibility & contrast

On white

7.89
#8F1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C83
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C83#FFFFFF#000000##FFFFFF
##8F1C831.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#962A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1c83;
/* rgb */ color: rgb(143, 28, 131);
/* oklch */ color: oklch(46.1% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#b367a7',
    500: '#8f1c83',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c83;
$custom-light: #b367a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c83",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 306.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.18462,
    "h": 333
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#8F1C83
secondary
#49BE55
accent
#EA503E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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