#8F41B0#8F41B0

#8F41B0 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.5% C 0.178 H 314.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8F41B0
RGBrgb(143, 65, 176)
HSLhsl(282, 46%, 47%)
HSVhsv(282, 63%, 69%)
CMYKcmyk(18.7%, 63.1%, 0%, 31%)
CIE-LABlab(42.39, 50.83, -45.39)
CIE-LCHlch(42.39, 68.15, 318.24°)
OKLaboklab(52.53% 0.1249 -0.1274)
OKLCHoklch(52.53% 0.178 314.4)
XYZxyz(21.0532, 12.7555, 42.4189)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41B0 #62B041
analogous
#5741B0 #8F41B0 #B0419A
triadic
#8F41B0 #B08F41 #41B08F
tetradic
#8F41B0 #B05741 #62B041 #419AB0
square
#8F41B0 #B05741 #62B041 #419AB0
split-complementary
#8F41B0 #9AB041 #41B057
monochromatic
#462057 #6B3083 #8F41B0 #AB67C7 #C394D7

Accessibility & contrast

On white

5.91
#8F41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41B0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41B0#FFFFFF#000000##FFFFFF
##8F41B01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B3
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#8C5572
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f41b0;
/* rgb */ color: rgb(143, 65, 176);
/* oklch */ color: oklch(52.5% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#b37ac8',
    500: '#8f41b0',
    950: '#000000',
  },
}
SCSS
$custom: #8f41b0;
$custom-light: #b37ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41b0",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 282.162,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.17841,
    "h": 314.4
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#8F41B0
secondary
#9BC38A
accent
#D65279
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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