#8F4AAA#8F4AAA

#8F4AAA is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.4% C 0.158 H 315.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8F4AAA
RGBrgb(143, 74, 170)
HSLhsl(283, 39%, 48%)
HSVhsv(283, 56%, 67%)
CMYKcmyk(15.9%, 56.5%, 0%, 33.3%)
CIE-LABlab(43.71, 45.04, -39.75)
CIE-LCHlch(43.71, 60.07, 318.57°)
OKLaboklab(53.38% 0.1131 -0.111)
OKLCHoklch(53.38% 0.158 315.5)
XYZxyz(21.0310, 13.6401, 39.5474)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AAA #65AA4A
analogous
#5F4AAA #8F4AAA #AA4A95
triadic
#8F4AAA #AA8F4A #4AAA8F
tetradic
#8F4AAA #AA5F4A #65AA4A #4A95AA
square
#8F4AAA #AA5F4A #65AA4A #4A95AA
split-complementary
#8F4AAA #95AA4A #4AAA5F
monochromatic
#472555 #6B377F #8F4AAA #AA70C1 #C49BD3

Accessibility & contrast

On white

5.63
#8F4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AAA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AAA#FFFFFF#000000##FFFFFF
##8F4AAA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#4A69A8
Tritanopia (blue-blind)
#8D5A73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4aaa;
/* rgb */ color: rgb(143, 74, 170);
/* oklch */ color: oklch(53.4% 0.158 315.5);
Tailwind
colors: {
  custom: {
    50: '#b280c4',
    500: '#8f4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8f4aaa;
$custom-light: #b280c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4aaa",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 283.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.15846,
    "h": 315.5
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#8F4AAA
secondary
#9DC090
accent
#CF597A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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