#8F419D#8F419D

#8F419D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.159 H 321.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8F419D
RGBrgb(143, 65, 157)
HSLhsl(291, 41%, 44%)
HSVhsv(291, 59%, 62%)
CMYKcmyk(8.9%, 58.6%, 0%, 38.4%)
CIE-LABlab(41.30, 46.90, -35.82)
CIE-LCHlch(41.30, 59.01, 322.63°)
OKLaboklab(51.39% 0.1243 -0.0995)
OKLCHoklch(51.39% 0.159 321.3)
XYZxyz(19.3031, 12.0555, 33.2019)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F419D #4F9D41
analogous
#61419D #8F419D #9D417D
triadic
#8F419D #9D8F41 #419D8F
tetradic
#8F419D #9D6141 #4F9D41 #417D9D
square
#8F419D #9D6141 #4F9D41 #417D9D
split-complementary
#8F419D #7D9D41 #419D61
monochromatic
#401D46 #682F72 #8F419D #AE5FBD #C48ACF

Accessibility & contrast

On white

6.16
#8F419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8F419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F419D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F419D#FFFFFF#000000##FFFFFF
##8F419D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#4B649B
Tritanopia (blue-blind)
#904F69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f419d;
/* rgb */ color: rgb(143, 65, 157);
/* oklch */ color: oklch(51.4% 0.159 321.3);
Tailwind
colors: {
  custom: {
    50: '#b27aba',
    500: '#8f419d',
    950: '#000000',
  },
}
SCSS
$custom: #8f419d;
$custom-light: #b27aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f419d",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 290.87,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.15925,
    "h": 321.3
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#8F419D
secondary
#89B980
accent
#D15769
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F419D

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

Preview Lab → · Contrast checker → · Palette generator →

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