#8F4DA4#8F4DA4

#8F4DA4 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.5% C 0.147 H 317.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F4DA4
RGBrgb(143, 77, 164)
HSLhsl(286, 36%, 47%)
HSVhsv(286, 53%, 64%)
CMYKcmyk(12.8%, 53%, 0%, 35.7%)
CIE-LABlab(43.99, 42.18, -35.76)
CIE-LCHlch(43.99, 55.29, 319.71°)
OKLaboklab(53.48% 0.1084 -0.0994)
OKLCHoklch(53.48% 0.147 317.5)
XYZxyz(20.6815, 13.8284, 36.6945)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DA4 #62A44D
analogous
#634DA4 #8F4DA4 #A44D8E
triadic
#8F4DA4 #A48F4D #4DA48F
tetradic
#8F4DA4 #A4634D #62A44D #4D8EA4
square
#8F4DA4 #A4634D #62A44D #4D8EA4
split-complementary
#8F4DA4 #8EA44D #4DA463
monochromatic
#462651 #6B397A #8F4DA4 #AB72BD #C39BD0

Accessibility & contrast

On white

5.58
#8F4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8F4DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DA4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DA4#FFFFFF#000000##FFFFFF
##8F4DA41.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#8F5A71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4da4;
/* rgb */ color: rgb(143, 77, 164);
/* oklch */ color: oklch(53.5% 0.147 317.5);
Tailwind
colors: {
  custom: {
    50: '#b281bf',
    500: '#8f4da4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4da4;
$custom-light: #b281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4da4",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 285.517,
    "s": 36.1,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.1471,
    "h": 317.5
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#8F4DA4
secondary
#9BBD90
accent
#CC5C77
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F4DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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