#8F4EAE#8F4EAE

#8F4EAE is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.2% C 0.156 H 313.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F4EAE
RGBrgb(143, 78, 174)
HSLhsl(281, 38%, 49%)
HSVhsv(281, 55%, 68%)
CMYKcmyk(17.8%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.72, 43.81, -40.50)
CIE-LCHlch(44.72, 59.66, 317.25°)
OKLaboklab(54.19% 0.1079 -0.1132)
OKLCHoklch(54.19% 0.156 313.6)
XYZxyz(21.6908, 14.3450, 41.6624)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EAE #6DAE4E
analogous
#5F4EAE #8F4EAE #AE4E9D
triadic
#8F4EAE #AE8F4E #4EAE8F
tetradic
#8F4EAE #AE5F4E #6DAE4E #4E9DAE
square
#8F4EAE #AE5F4E #6DAE4E #4E9DAE
split-complementary
#8F4EAE #9DAE4E #4EAE5F
monochromatic
#4A2859 #6C3B84 #8F4EAE #AA77C2 #C4A1D5

Accessibility & contrast

On white

5.43
#8F4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8F4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EAE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EAE#FFFFFF#000000##FFFFFF
##8F4EAE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#4B6BAC
Tritanopia (blue-blind)
#8C5E76
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4eae;
/* rgb */ color: rgb(143, 78, 174);
/* oklch */ color: oklch(54.2% 0.156 313.6);
Tailwind
colors: {
  custom: {
    50: '#b282c6',
    500: '#8f4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8f4eae;
$custom-light: #b282c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4eae",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 280.625,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.15641,
    "h": 313.6
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#8F4EAE
secondary
#A4C296
accent
#CE5A7F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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