#8F41B7#8F41B7

#8F41B7 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.186 H 312.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F41B7
RGBrgb(143, 65, 183)
HSLhsl(280, 48%, 49%)
HSVhsv(280, 64%, 72%)
CMYKcmyk(21.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(42.82, 52.34, -48.83)
CIE-LCHlch(42.82, 71.58, 316.99°)
OKLaboklab(52.98% 0.1247 -0.1375)
OKLCHoklch(52.98% 0.186 312.2)
XYZxyz(21.7637, 13.0397, 46.1610)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41B7 #69B741
analogous
#5441B7 #8F41B7 #B741A4
triadic
#8F41B7 #B78F41 #41B78F
tetradic
#8F41B7 #B75441 #69B741 #41A4B7
square
#8F41B7 #B75441 #69B741 #41A4B7
split-complementary
#8F41B7 #A4B741 #41B754
monochromatic
#48215D #6C318A #8F41B7 #AA6BCA #C498DA

Accessibility & contrast

On white

5.82
#8F41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8F41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41B7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41B7#FFFFFF#000000##FFFFFF
##8F41B71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0261BB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#8A5876
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f41b7;
/* rgb */ color: rgb(143, 65, 183);
/* oklch */ color: oklch(53.0% 0.186 312.2);
Tailwind
colors: {
  custom: {
    50: '#b37bcd',
    500: '#8f41b7',
    950: '#000000',
  },
}
SCSS
$custom: #8f41b7;
$custom-light: #b37bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41b7",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 279.661,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.18559,
    "h": 312.2
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#8F41B7
secondary
#A1C68E
accent
#D7517E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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