#8F1EA8#8F1EA8

#8F1EA8 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.212 H 319.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F1EA8
RGBrgb(143, 30, 168)
HSLhsl(289, 70%, 39%)
HSVhsv(289, 82%, 66%)
CMYKcmyk(14.9%, 82.1%, 0%, 34.1%)
CIE-LABlab(37.11, 62.71, -49.12)
CIE-LCHlch(37.11, 79.66, 321.93°)
OKLaboklab(48.59% 0.1603 -0.1381)
OKLCHoklch(48.59% 0.212 319.3)
XYZxyz(18.8589, 9.5963, 37.8971)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1EA8 #37A81E
analogous
#4A1EA8 #8F1EA8 #A81E7C
triadic
#8F1EA8 #A88F1E #1EA88F
tetradic
#8F1EA8 #A84A1E #37A81E #1E7CA8
square
#8F1EA8 #A84A1E #37A81E #1E7CA8
split-complementary
#8F1EA8 #7CA81E #1EA84A
monochromatic
#370B40 #631574 #8F1EA8 #B92AD9 #CA5EE2

Accessibility & contrast

On white

7.19
#8F1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1EA8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1EA8#FFFFFF#000000##FFFFFF
##8F1EA81.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#8F3E65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f1ea8;
/* rgb */ color: rgb(143, 30, 168);
/* oklch */ color: oklch(48.6% 0.212 319.3);
Tailwind
colors: {
  custom: {
    50: '#b46ac3',
    500: '#8f1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8f1ea8;
$custom-light: #b46ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1ea8",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 289.13,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.21163,
    "h": 319.3
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#8F1EA8
secondary
#6FC75B
accent
#ED3B5B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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