#8F4EAF#8F4EAF

#8F4EAF is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.3% C 0.158 H 313.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F4EAF
RGBrgb(143, 78, 175)
HSLhsl(280, 38%, 50%)
HSVhsv(280, 55%, 69%)
CMYKcmyk(18.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(44.78, 44.03, -41.00)
CIE-LCHlch(44.78, 60.17, 317.04°)
OKLaboklab(54.25% 0.108 -0.1147)
OKLCHoklch(54.25% 0.158 313.3)
XYZxyz(21.7886, 14.3841, 42.1778)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EAF #6EAF4E
analogous
#5E4EAF #8F4EAF #AF4E9F
triadic
#8F4EAF #AF8F4E #4EAF8F
tetradic
#8F4EAF #AF5E4E #6EAF4E #4E9FAF
square
#8F4EAF #AF5E4E #6EAF4E #4E9FAF
split-complementary
#8F4EAF #9FAF4E #4EAF5E
monochromatic
#4A285A #6C3B85 #8F4EAF #AA78C3 #C4A2D6

Accessibility & contrast

On white

5.42
#8F4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8F4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EAF#FFFFFF#000000##FFFFFF
##8F4EAF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#8C5E77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4eaf;
/* rgb */ color: rgb(143, 78, 175);
/* oklch */ color: oklch(54.3% 0.158 313.3);
Tailwind
colors: {
  custom: {
    50: '#b282c7',
    500: '#8f4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4eaf;
$custom-light: #b282c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4eaf",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 280.206,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.15752,
    "h": 313.3
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#8F4EAF
secondary
#A5C396
accent
#CE5A80
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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