#8F41AF#8F41AF

#8F41AF is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 314.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F41AF
RGBrgb(143, 65, 175)
HSLhsl(283, 46%, 47%)
HSVhsv(283, 63%, 69%)
CMYKcmyk(18.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(42.33, 50.62, -44.90)
CIE-LCHlch(42.33, 67.66, 318.43°)
OKLaboklab(52.47% 0.1249 -0.126)
OKLCHoklch(52.47% 0.177 314.7)
XYZxyz(20.9546, 12.7161, 41.8997)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41AF #61AF41
analogous
#5841AF #8F41AF #AF4198
triadic
#8F41AF #AF8F41 #41AF8F
tetradic
#8F41AF #AF5841 #61AF41 #4198AF
square
#8F41AF #AF5841 #61AF41 #4198AF
split-complementary
#8F41AF #98AF41 #41AF58
monochromatic
#462056 #6B3082 #8F41AF #AB67C6 #C393D7

Accessibility & contrast

On white

5.93
#8F41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41AF#FFFFFF#000000##FFFFFF
##8F41AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#8C5572
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f41af;
/* rgb */ color: rgb(143, 65, 175);
/* oklch */ color: oklch(52.5% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#b37ac7',
    500: '#8f41af',
    950: '#000000',
  },
}
SCSS
$custom: #8f41af;
$custom-light: #b37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41af",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 282.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.17739,
    "h": 314.7
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#8F41AF
secondary
#9AC289
accent
#D55278
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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