#8F1E97#8F1E97

#8F1E97 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 325.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8F1E97
RGBrgb(143, 30, 151)
HSLhsl(296, 67%, 35%)
HSVhsv(296, 80%, 59%)
CMYKcmyk(5.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(35.99, 59.68, -40.64)
CIE-LCHlch(35.99, 72.20, 325.75°)
OKLaboklab(47.45% 0.1624 -0.1133)
OKLCHoklch(47.45% 0.198 325.1)
XYZxyz(17.3775, 9.0037, 30.0948)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E97 #26971E
analogous
#521E97 #8F1E97 #971E62
triadic
#8F1E97 #978F1E #1E978F
tetradic
#8F1E97 #97521E #26971E #1E6297
square
#8F1E97 #97521E #26971E #1E6297
split-complementary
#8F1E97 #62971E #1E9752
monochromatic
#2E0A31 #5F1464 #8F1E97 #BF28CA #D453DD

Accessibility & contrast

On white

7.50
#8F1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1E97
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E97#FFFFFF#000000##FFFFFF
##8F1E971.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#92355B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1e97;
/* rgb */ color: rgb(143, 30, 151);
/* oklch */ color: oklch(47.4% 0.198 325.1);
Tailwind
colors: {
  custom: {
    50: '#b469b6',
    500: '#8f1e97',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e97;
$custom-light: #b469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e97",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 296.033,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.19799,
    "h": 325.1
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#8F1E97
secondary
#58C051
accent
#EA3E49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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