#8F4EAB#8F4EAB

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

Color values

HEX#8F4EAB
RGBrgb(143, 78, 171)
HSLhsl(282, 37%, 49%)
HSVhsv(282, 54%, 67%)
CMYKcmyk(16.4%, 54.4%, 0%, 32.9%)
CIE-LABlab(44.56, 43.15, -38.99)
CIE-LCHlch(44.56, 58.16, 317.90°)
OKLaboklab(54.02% 0.1077 -0.1088)
OKLCHoklch(54.02% 0.153 314.7)
XYZxyz(21.4016, 14.2293, 40.1393)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EAB #6AAB4E
analogous
#614EAB #8F4EAB #AB4E99
triadic
#8F4EAB #AB8F4E #4EAB8F
tetradic
#8F4EAB #AB614E #6AAB4E #4E99AB
square
#8F4EAB #AB614E #6AAB4E #4E99AB
split-complementary
#8F4EAB #99AB4E #4EAB61
monochromatic
#492857 #6C3B81 #8F4EAB #AA76C0 #C4A0D4

Accessibility & contrast

On white

5.46
#8F4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8F4EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EAB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EAB#FFFFFF#000000##FFFFFF
##8F4EAB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AE
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#8D5D75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4eab;
/* rgb */ color: rgb(143, 78, 171);
/* oklch */ color: oklch(54.0% 0.153 314.7);
Tailwind
colors: {
  custom: {
    50: '#b282c4',
    500: '#8f4eab',
    950: '#000000',
  },
}
SCSS
$custom: #8f4eab;
$custom-light: #b282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4eab",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 281.935,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.1531,
    "h": 314.7
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#8F4EAB
secondary
#A2C194
accent
#CD5A7D
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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