#8F4FA3#8F4FA3

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

Color values

HEX#8F4FA3
RGBrgb(143, 79, 163)
HSLhsl(286, 35%, 47%)
HSVhsv(286, 52%, 64%)
CMYKcmyk(12.3%, 51.5%, 0%, 36.1%)
CIE-LABlab(44.34, 40.89, -34.60)
CIE-LCHlch(44.34, 53.56, 319.76°)
OKLaboklab(53.72% 0.1055 -0.0961)
OKLCHoklch(53.72% 0.143 317.7)
XYZxyz(20.7336, 14.0767, 36.2681)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FA3 #63A34F
analogous
#654FA3 #8F4FA3 #A34F8D
triadic
#8F4FA3 #A38F4F #4FA38F
tetradic
#8F4FA3 #A3654F #63A34F #4F8DA3
square
#8F4FA3 #A3654F #63A34F #4F8DA3
split-complementary
#8F4FA3 #8DA34F #4FA365
monochromatic
#472751 #6B3B7A #8F4FA3 #AA74BB #C39DCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4FA3#FFFFFF#000000##FFFFFF
##8F4FA31.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)
#3F65A6
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#8F5B71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4fa3;
/* rgb */ color: rgb(143, 79, 163);
/* oklch */ color: oklch(53.7% 0.143 317.7);
Tailwind
colors: {
  custom: {
    50: '#b283be',
    500: '#8f4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fa3;
$custom-light: #b283be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fa3",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 285.714,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.14266,
    "h": 317.7
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#8F4FA3
secondary
#9CBC91
accent
#CB5D77
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8F4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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