#8F409D#8F409D

#8F409D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.161 H 321.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F409D
RGBrgb(143, 64, 157)
HSLhsl(291, 42%, 43%)
HSVhsv(291, 59%, 62%)
CMYKcmyk(8.9%, 59.2%, 0%, 38.4%)
CIE-LABlab(41.12, 47.39, -36.10)
CIE-LCHlch(41.12, 59.57, 322.70°)
OKLaboklab(51.25% 0.1257 -0.1003)
OKLCHoklch(51.25% 0.161 321.4)
XYZxyz(19.2462, 11.9417, 33.1829)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F409D #4E9D40
analogous
#60409D #8F409D #9D407C
triadic
#8F409D #9D8F40 #409D8F
tetradic
#8F409D #9D6040 #4E9D40 #407C9D
square
#8F409D #9D6040 #4E9D40 #407C9D
split-complementary
#8F409D #7C9D40 #409D60
monochromatic
#401D46 #672E72 #8F409D #AF5DBD #C489CF

Accessibility & contrast

On white

6.20
#8F409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F409D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F409D#FFFFFF#000000##FFFFFF
##8F409D1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#904E68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f409d;
/* rgb */ color: rgb(143, 64, 157);
/* oklch */ color: oklch(51.3% 0.161 321.4);
Tailwind
colors: {
  custom: {
    50: '#b279ba',
    500: '#8f409d',
    950: '#000000',
  },
}
SCSS
$custom: #8f409d;
$custom-light: #b279ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f409d",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 290.968,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.1608,
    "h": 321.4
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#8F409D
secondary
#88B97F
accent
#D25669
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F409D

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

Preview Lab → · Contrast checker → · Palette generator →

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