#8F4EAA#8F4EAA

#8F4EAA is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.152 H 315.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F4EAA
RGBrgb(143, 78, 170)
HSLhsl(282, 37%, 49%)
HSVhsv(282, 54%, 67%)
CMYKcmyk(15.9%, 54.1%, 0%, 33.3%)
CIE-LABlab(44.51, 42.93, -38.49)
CIE-LCHlch(44.51, 57.66, 318.13°)
OKLaboklab(53.96% 0.1076 -0.1074)
OKLCHoklch(53.96% 0.152 315.1)
XYZxyz(21.3066, 14.1913, 39.6392)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EAA #69AA4E
analogous
#614EAA #8F4EAA #AA4E97
triadic
#8F4EAA #AA8F4E #4EAA8F
tetradic
#8F4EAA #AA614E #69AA4E #4E97AA
square
#8F4EAA #AA614E #69AA4E #4E97AA
split-complementary
#8F4EAA #97AA4E #4EAA61
monochromatic
#482856 #6C3B80 #8F4EAA #AA75C0 #C49FD3

Accessibility & contrast

On white

5.47
#8F4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EAA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EAA#FFFFFF#000000##FFFFFF
##8F4EAA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#8D5D74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4eaa;
/* rgb */ color: rgb(143, 78, 170);
/* oklch */ color: oklch(54.0% 0.152 315.1);
Tailwind
colors: {
  custom: {
    50: '#b282c4',
    500: '#8f4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8f4eaa;
$custom-light: #b282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4eaa",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 282.391,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.15199,
    "h": 315.1
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#8F4EAA
secondary
#A1C094
accent
#CD5B7C
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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