#8F41BE#8F41BE

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

Color values

HEX#8F41BE
RGBrgb(143, 65, 190)
HSLhsl(277, 49%, 50%)
HSVhsv(277, 66%, 75%)
CMYKcmyk(24.7%, 65.8%, 0%, 25.5%)
CIE-LABlab(43.27, 53.88, -52.21)
CIE-LCHlch(43.27, 75.03, 315.90°)
OKLaboklab(53.44% 0.1243 -0.1474)
OKLCHoklch(53.44% 0.193 310.1)
XYZxyz(22.5105, 13.3384, 50.0940)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41BE #70BE41
analogous
#5041BE #8F41BE #BE41AF
triadic
#8F41BE #BE8F41 #41BE8F
tetradic
#8F41BE #BE5041 #70BE41 #41AFBE
square
#8F41BE #BE5041 #70BE41 #41AFBE
split-complementary
#8F41BE #AFBE41 #41BE50
monochromatic
#4A2263 #6D3190 #8F41BE #AA6FCE #C59CDD

Accessibility & contrast

On white

5.73
#8F41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41BE#FFFFFF#000000##FFFFFF
##8F41BE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#895B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f41be;
/* rgb */ color: rgb(143, 65, 190);
/* oklch */ color: oklch(53.4% 0.193 310.1);
Tailwind
colors: {
  custom: {
    50: '#b47bd2',
    500: '#8f41be',
    950: '#000000',
  },
}
SCSS
$custom: #8f41be;
$custom-light: #b47bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41be",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 277.44,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.1928,
    "h": 310.1
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#8F41BE
secondary
#A6C991
accent
#D94F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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