#8F1F82#8F1F82

#8F1F82 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.181 H 333.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8F1F82
RGBrgb(143, 31, 130)
HSLhsl(307, 64%, 34%)
HSVhsv(307, 78%, 56%)
CMYKcmyk(0%, 78.3%, 9.1%, 43.9%)
CIE-LABlab(34.87, 55.94, -29.49)
CIE-LCHlch(34.87, 63.23, 332.20°)
OKLaboklab(46.26% 0.1619 -0.0809)
OKLCHoklch(46.26% 0.181 333.4)
XYZxyz(15.8471, 8.4327, 21.9078)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F82 #1F8F2C
analogous
#641F8F #8F1F82 #8F1F4A
triadic
#8F1F82 #828F1F #1F828F
tetradic
#8F1F82 #8F641F #1F8F2C #1F4A8F
square
#8F1F82 #8F641F #1F8F2C #1F4A8F
split-complementary
#8F1F82 #4A8F1F #1F8F64
monochromatic
#2A0927 #5D1454 #8F1F82 #C12AB0 #D94FC9

Accessibility & contrast

On white

7.82
#8F1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F82
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F82#FFFFFF#000000##FFFFFF
##8F1F821.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#46587F
Tritanopia (blue-blind)
#962B4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1f82;
/* rgb */ color: rgb(143, 31, 130);
/* oklch */ color: oklch(46.3% 0.181 333.4);
Tailwind
colors: {
  custom: {
    50: '#b368a6',
    500: '#8f1f82',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f82;
$custom-light: #b368a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f82",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 306.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.181,
    "h": 333.4
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#8F1F82
secondary
#4EBC5B
accent
#E75440
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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