#8F41BD#8F41BD

#8F41BD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.192 H 310.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8F41BD
RGBrgb(143, 65, 189)
HSLhsl(278, 49%, 50%)
HSVhsv(278, 66%, 74%)
CMYKcmyk(24.3%, 65.6%, 0%, 25.9%)
CIE-LABlab(43.20, 53.66, -51.73)
CIE-LCHlch(43.20, 74.53, 316.05°)
OKLaboklab(53.38% 0.1243 -0.146)
OKLCHoklch(53.38% 0.192 310.4)
XYZxyz(22.4015, 13.2948, 49.5203)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BD #6FBD41
analogous
#5141BD #8F41BD #BD41AD
triadic
#8F41BD #BD8F41 #41BD8F
tetradic
#8F41BD #BD5141 #6FBD41 #41ADBD
square
#8F41BD #BD5141 #6FBD41 #41ADBD
split-complementary
#8F41BD #ADBD41 #41BD51
monochromatic
#4A2262 #6D318F #8F41BD #AA6ECD #C59CDD

Accessibility & contrast

On white

5.74
#8F41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8F41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BD#FFFFFF#000000##FFFFFF
##8F41BD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#895A79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41bd;
/* rgb */ color: rgb(143, 65, 189);
/* oklch */ color: oklch(53.4% 0.192 310.4);
Tailwind
colors: {
  custom: {
    50: '#b47bd2',
    500: '#8f41bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f41bd;
$custom-light: #b47bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41bd",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 277.742,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.19177,
    "h": 310.4
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#8F41BD
secondary
#A6C991
accent
#D84F82
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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