#8F1EA7#8F1EA7

#8F1EA7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.211 H 319.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F1EA7
RGBrgb(143, 30, 167)
HSLhsl(289, 70%, 39%)
HSVhsv(289, 82%, 65%)
CMYKcmyk(14.4%, 82%, 0%, 34.5%)
CIE-LABlab(37.04, 62.53, -48.63)
CIE-LCHlch(37.04, 79.21, 322.13°)
OKLaboklab(48.52% 0.1605 -0.1367)
OKLCHoklch(48.52% 0.211 319.6)
XYZxyz(18.7661, 9.5592, 37.4084)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1EA7 #36A71E
analogous
#4A1EA7 #8F1EA7 #A71E7A
triadic
#8F1EA7 #A78F1E #1EA78F
tetradic
#8F1EA7 #A74A1E #36A71E #1E7AA7
square
#8F1EA7 #A74A1E #36A71E #1E7AA7
split-complementary
#8F1EA7 #7AA71E #1EA74A
monochromatic
#360B3F #631573 #8F1EA7 #BA2AD9 #CB5DE2

Accessibility & contrast

On white

7.21
#8F1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1EA7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1EA7#FFFFFF#000000##FFFFFF
##8F1EA71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#2B5BA4
Tritanopia (blue-blind)
#8F3E64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f1ea7;
/* rgb */ color: rgb(143, 30, 167);
/* oklch */ color: oklch(48.5% 0.211 319.6);
Tailwind
colors: {
  custom: {
    50: '#b46ac2',
    500: '#8f1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8f1ea7;
$custom-light: #b46ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1ea7",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 289.489,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.2108,
    "h": 319.6
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#8F1EA7
secondary
#6DC65B
accent
#EC3B5A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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