#8F4EA6#8F4EA6

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

Color values

HEX#8F4EA6
RGBrgb(143, 78, 166)
HSLhsl(284, 36%, 48%)
HSVhsv(284, 53%, 65%)
CMYKcmyk(13.9%, 53%, 0%, 34.9%)
CIE-LABlab(44.29, 42.07, -36.46)
CIE-LCHlch(44.29, 55.67, 319.09°)
OKLaboklab(53.74% 0.1072 -0.1015)
OKLCHoklch(53.74% 0.148 316.6)
XYZxyz(20.9340, 14.0423, 37.6767)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EA6 #65A64E
analogous
#634EA6 #8F4EA6 #A64E91
triadic
#8F4EA6 #A68F4E #4EA68F
tetradic
#8F4EA6 #A6634E #65A64E #4E91A6
square
#8F4EA6 #A6634E #65A64E #4E91A6
split-complementary
#8F4EA6 #91A64E #4EA663
monochromatic
#472753 #6B3A7C #8F4EA6 #AA74BE #C49DD1

Accessibility & contrast

On white

5.51
#8F4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F4EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EA6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EA6#FFFFFF#000000##FFFFFF
##8F4EA61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#8E5B73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4ea6;
/* rgb */ color: rgb(143, 78, 166);
/* oklch */ color: oklch(53.7% 0.148 316.6);
Tailwind
colors: {
  custom: {
    50: '#b282c1',
    500: '#8f4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ea6;
$custom-light: #b282c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ea6",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 284.318,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53737,
    "c": 0.14761,
    "h": 316.6
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#8F4EA6
secondary
#9DBE92
accent
#CC5C79
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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