#8F4EA5#8F4EA5

#8F4EA5 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.7% C 0.147 H 317.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F4EA5
RGBrgb(143, 78, 165)
HSLhsl(285, 36%, 48%)
HSVhsv(285, 53%, 65%)
CMYKcmyk(13.3%, 52.7%, 0%, 35.3%)
CIE-LABlab(44.24, 41.85, -35.95)
CIE-LCHlch(44.24, 55.17, 319.34°)
OKLaboklab(53.68% 0.1071 -0.1)
OKLCHoklch(53.68% 0.147 317)
XYZxyz(20.8426, 14.0057, 37.1955)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EA5 #64A54E
analogous
#644EA5 #8F4EA5 #A54E8F
triadic
#8F4EA5 #A58F4E #4EA58F
tetradic
#8F4EA5 #A5644E #64A54E #4E8FA5
square
#8F4EA5 #A5644E #64A54E #4E8FA5
split-complementary
#8F4EA5 #8FA54E #4EA564
monochromatic
#472752 #6B3A7B #8F4EA5 #AA73BD #C39DD1

Accessibility & contrast

On white

5.52
#8F4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F4EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EA5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EA5#FFFFFF#000000##FFFFFF
##8F4EA51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A8
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#8E5B72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4ea5;
/* rgb */ color: rgb(143, 78, 165);
/* oklch */ color: oklch(53.7% 0.147 317.0);
Tailwind
colors: {
  custom: {
    50: '#b282c0',
    500: '#8f4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ea5;
$custom-light: #b282c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ea5",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 284.828,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.14652,
    "h": 317
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#8F4EA5
secondary
#9DBD91
accent
#CC5C78
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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