#8F4EA4#8F4EA4

#8F4EA4 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.6% C 0.145 H 317.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F4EA4
RGBrgb(143, 78, 164)
HSLhsl(285, 36%, 47%)
HSVhsv(285, 52%, 64%)
CMYKcmyk(12.8%, 52.4%, 0%, 35.7%)
CIE-LABlab(44.19, 41.64, -35.44)
CIE-LCHlch(44.19, 54.68, 319.60°)
OKLaboklab(53.63% 0.107 -0.0985)
OKLCHoklch(53.63% 0.145 317.4)
XYZxyz(20.7520, 13.9695, 36.7180)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EA4 #63A44E
analogous
#644EA4 #8F4EA4 #A44E8E
triadic
#8F4EA4 #A48F4E #4EA48F
tetradic
#8F4EA4 #A4644E #63A44E #4E8EA4
square
#8F4EA4 #A4644E #63A44E #4E8EA4
split-complementary
#8F4EA4 #8EA44E #4EA464
monochromatic
#472751 #6B3A7B #8F4EA4 #AA73BC #C39CD0

Accessibility & contrast

On white

5.54
#8F4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F4EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EA4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EA4#FFFFFF#000000##FFFFFF
##8F4EA41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A7
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#8F5B72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4ea4;
/* rgb */ color: rgb(143, 78, 164);
/* oklch */ color: oklch(53.6% 0.145 317.4);
Tailwind
colors: {
  custom: {
    50: '#b282bf',
    500: '#8f4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ea4;
$custom-light: #b282bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ea4",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 285.349,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.14543,
    "h": 317.4
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#8F4EA4
secondary
#9CBD91
accent
#CC5C77
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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