#8F41BA#8F41BA

#8F41BA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.189 H 311.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8F41BA
RGBrgb(143, 65, 186)
HSLhsl(279, 48%, 49%)
HSVhsv(279, 65%, 73%)
CMYKcmyk(23.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(43.01, 53.00, -50.28)
CIE-LCHlch(43.01, 73.06, 316.51°)
OKLaboklab(53.18% 0.1245 -0.1418)
OKLCHoklch(53.18% 0.189 311.3)
XYZxyz(22.0793, 13.1659, 47.8230)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BA #6CBA41
analogous
#5341BA #8F41BA #BA41A9
triadic
#8F41BA #BA8F41 #41BA8F
tetradic
#8F41BA #BA5341 #6CBA41 #41A9BA
square
#8F41BA #BA5341 #6CBA41 #41A9BA
split-complementary
#8F41BA #A9BA41 #41BA53
monochromatic
#49215F #6C318D #8F41BA #AA6CCC #C49ADC

Accessibility & contrast

On white

5.78
#8F41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BA#FFFFFF#000000##FFFFFF
##8F41BA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#8A5978
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41ba;
/* rgb */ color: rgb(143, 65, 186);
/* oklch */ color: oklch(53.2% 0.189 311.3);
Tailwind
colors: {
  custom: {
    50: '#b37bcf',
    500: '#8f41ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f41ba;
$custom-light: #b37bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41ba",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 278.678,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.18868,
    "h": 311.3
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#8F41BA
secondary
#A3C88F
accent
#D85080
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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