#8F409B#8F409B

#8F409B is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.1% C 0.159 H 322.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8F409B
RGBrgb(143, 64, 155)
HSLhsl(292, 42%, 43%)
HSVhsv(292, 59%, 61%)
CMYKcmyk(7.7%, 58.7%, 0%, 39.2%)
CIE-LABlab(41.02, 46.99, -35.07)
CIE-LCHlch(41.02, 58.64, 323.27°)
OKLaboklab(51.14% 0.1255 -0.0974)
OKLCHoklch(51.14% 0.159 322.2)
XYZxyz(19.0769, 11.8739, 32.2910)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F409B #4C9B40
analogous
#61409B #8F409B #9B4079
triadic
#8F409B #9B8F40 #409B8F
tetradic
#8F409B #9B6140 #4C9B40 #40799B
square
#8F409B #9B6140 #4C9B40 #40799B
split-complementary
#8F409B #799B40 #409B61
monochromatic
#3F1C44 #672E70 #8F409B #AF5CBC #C488CE

Accessibility & contrast

On white

6.22
#8F409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F409B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F409B#FFFFFF#000000##FFFFFF
##8F409B1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#914D67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f409b;
/* rgb */ color: rgb(143, 64, 155);
/* oklch */ color: oklch(51.1% 0.159 322.2);
Tailwind
colors: {
  custom: {
    50: '#b279b9',
    500: '#8f409b',
    950: '#000000',
  },
}
SCSS
$custom: #8f409b;
$custom-light: #b279b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f409b",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 292.088,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.15884,
    "h": 322.2
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#8F409B
secondary
#86B87E
accent
#D15667
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8F409B

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

Preview Lab → · Contrast checker → · Palette generator →

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