#8F4EA7#8F4EA7

#8F4EA7 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.8% C 0.149 H 316.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F4EA7
RGBrgb(143, 78, 167)
HSLhsl(284, 36%, 48%)
HSVhsv(284, 53%, 65%)
CMYKcmyk(14.4%, 53.3%, 0%, 34.5%)
CIE-LABlab(44.35, 42.28, -36.97)
CIE-LCHlch(44.35, 56.16, 318.84°)
OKLaboklab(53.79% 0.1073 -0.1029)
OKLCHoklch(53.79% 0.149 316.2)
XYZxyz(21.0261, 14.0791, 38.1617)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EA7 #66A74E
analogous
#624EA7 #8F4EA7 #A74E92
triadic
#8F4EA7 #A78F4E #4EA78F
tetradic
#8F4EA7 #A7624E #66A74E #4E92A7
square
#8F4EA7 #A7624E #66A74E #4E92A7
split-complementary
#8F4EA7 #92A74E #4EA762
monochromatic
#482754 #6B3B7D #8F4EA7 #AA74BE #C49ED2

Accessibility & contrast

On white

5.50
#8F4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F4EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EA7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EA7#FFFFFF#000000##FFFFFF
##8F4EA71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#8E5C73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4ea7;
/* rgb */ color: rgb(143, 78, 167);
/* oklch */ color: oklch(53.8% 0.149 316.2);
Tailwind
colors: {
  custom: {
    50: '#b282c1',
    500: '#8f4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ea7;
$custom-light: #b282c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ea7",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 283.82,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.1487,
    "h": 316.2
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#8F4EA7
secondary
#9EBE92
accent
#CC5B7A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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