#8F1C8F#8F1C8F

#8F1C8F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.194 H 328.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8F1C8F
RGBrgb(143, 28, 143)
HSLhsl(300, 67%, 34%)
HSVhsv(300, 80%, 56%)
CMYKcmyk(0%, 80.4%, 0%, 43.9%)
CIE-LABlab(35.31, 58.88, -36.83)
CIE-LCHlch(35.31, 69.45, 327.98°)
OKLaboklab(46.81% 0.1644 -0.1022)
OKLCHoklch(46.81% 0.194 328.1)
XYZxyz(16.7007, 8.6546, 26.7722)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C8F #1C8F1C
analogous
#551C8F #8F1C8F #8F1C55
triadic
#8F1C8F #8F8F1C #1C8F8F
tetradic
#8F1C8F #8F551C #1C8F1C #1C558F
square
#8F1C8F #8F551C #1C8F1C #1C558F
split-complementary
#8F1C8F #558F1C #1C8F55
monochromatic
#290829 #5C125C #8F1C8F #C226C2 #DC4ADC

Accessibility & contrast

On white

7.69
#8F1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C8F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C8F#FFFFFF#000000##FFFFFF
##8F1C8F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#943056
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1c8f;
/* rgb */ color: rgb(143, 28, 143);
/* oklch */ color: oklch(46.8% 0.194 328.1);
Tailwind
colors: {
  custom: {
    50: '#b468b0',
    500: '#8f1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c8f;
$custom-light: #b468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c8f",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46809,
    "c": 0.19357,
    "h": 328.1
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#8F1C8F
secondary
#49BE49
accent
#EA3E3E
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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