#8F1EA1#8F1EA1

#8F1EA1 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.206 H 321.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F1EA1
RGBrgb(143, 30, 161)
HSLhsl(292, 69%, 37%)
HSVhsv(292, 81%, 63%)
CMYKcmyk(11.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(36.64, 61.44, -45.67)
CIE-LCHlch(36.64, 76.56, 323.38°)
OKLaboklab(48.11% 0.1613 -0.128)
OKLCHoklch(48.11% 0.206 321.6)
XYZxyz(18.2243, 9.3424, 34.5547)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1EA1 #30A11E
analogous
#4E1EA1 #8F1EA1 #A11E71
triadic
#8F1EA1 #A18F1E #1EA18F
tetradic
#8F1EA1 #A14E1E #30A11E #1E71A1
square
#8F1EA1 #A14E1E #30A11E #1E71A1
split-complementary
#8F1EA1 #71A11E #1EA14E
monochromatic
#330B3A #61146D #8F1EA1 #BD28D5 #CE59E0

Accessibility & contrast

On white

7.32
#8F1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1EA1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1EA1#FFFFFF#000000##FFFFFF
##8F1EA11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#903B61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f1ea1;
/* rgb */ color: rgb(143, 30, 161);
/* oklch */ color: oklch(48.1% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#b469bd',
    500: '#8f1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8f1ea1;
$custom-light: #b469bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1ea1",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 291.756,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.20596,
    "h": 321.6
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#8F1EA1
secondary
#66C457
accent
#EB3C54
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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