#8F41AE#8F41AE

#8F41AE is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 315.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8F41AE
RGBrgb(143, 65, 174)
HSLhsl(283, 46%, 47%)
HSVhsv(283, 63%, 68%)
CMYKcmyk(17.8%, 62.6%, 0%, 31.8%)
CIE-LABlab(42.27, 50.41, -44.40)
CIE-LCHlch(42.27, 67.18, 318.62°)
OKLaboklab(52.4% 0.1249 -0.1245)
OKLCHoklch(52.4% 0.176 315.1)
XYZxyz(20.8567, 12.6769, 41.3844)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41AE #60AE41
analogous
#5941AE #8F41AE #AE4197
triadic
#8F41AE #AE8F41 #41AE8F
tetradic
#8F41AE #AE5941 #60AE41 #4197AE
square
#8F41AE #AE5941 #60AE41 #4197AE
split-complementary
#8F41AE #97AE41 #41AE59
monochromatic
#462055 #6A3081 #8F41AE #AB66C6 #C393D7

Accessibility & contrast

On white

5.94
#8F41AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F41AE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41AE#FFFFFF#000000##FFFFFF
##8F41AE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#8D5571
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f41ae;
/* rgb */ color: rgb(143, 65, 174);
/* oklch */ color: oklch(52.4% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#b37ac7',
    500: '#8f41ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f41ae;
$custom-light: #b37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41ae",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 282.936,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.17637,
    "h": 315.1
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#8F41AE
secondary
#99C289
accent
#D55378
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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