#8F1E8A#8F1E8A

#8F1E8A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.188 H 330.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F1E8A
RGBrgb(143, 30, 138)
HSLhsl(303, 65%, 34%)
HSVhsv(303, 79%, 56%)
CMYKcmyk(0%, 79%, 3.5%, 43.9%)
CIE-LABlab(35.21, 57.50, -33.91)
CIE-LCHlch(35.21, 66.76, 329.47°)
OKLaboklab(46.64% 0.1629 -0.0937)
OKLCHoklch(46.64% 0.188 330.1)
XYZxyz(16.3793, 8.6045, 24.8380)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E8A #1E8F23
analogous
#5C1E8F #8F1E8A #8F1E52
triadic
#8F1E8A #8A8F1E #1E8A8F
tetradic
#8F1E8A #8F5C1E #1E8F23 #1E528F
square
#8F1E8A #8F5C1E #1E8F23 #1E528F
split-complementary
#8F1E8A #528F1E #1E8F5C
monochromatic
#2A0928 #5C1359 #8F1E8A #C229BB #DA4ED4

Accessibility & contrast

On white

7.72
#8F1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1E8A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E8A#FFFFFF#000000##FFFFFF
##8F1E8A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#952F53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1e8a;
/* rgb */ color: rgb(143, 30, 138);
/* oklch */ color: oklch(46.6% 0.188 330.1);
Tailwind
colors: {
  custom: {
    50: '#b368ac',
    500: '#8f1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e8a;
$custom-light: #b368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e8a",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 302.655,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.18794,
    "h": 330.1
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#8F1E8A
secondary
#4CBC51
accent
#E84740
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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