#8F41C1#8F41C1

#8F41C1 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.196 H 309.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F41C1
RGBrgb(143, 65, 193)
HSLhsl(277, 51%, 51%)
HSVhsv(277, 66%, 76%)
CMYKcmyk(25.9%, 66.3%, 0%, 24.3%)
CIE-LABlab(43.46, 54.55, -53.64)
CIE-LCHlch(43.46, 76.51, 315.48°)
OKLaboklab(53.65% 0.124 -0.1516)
OKLCHoklch(53.65% 0.196 309.3)
XYZxyz(22.8417, 13.4709, 51.8386)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41C1 #73C141
analogous
#4F41C1 #8F41C1 #C141B3
triadic
#8F41C1 #C18F41 #41C18F
tetradic
#8F41C1 #C14F41 #73C141 #41B3C1
square
#8F41C1 #C14F41 #73C141 #41B3C1
split-complementary
#8F41C1 #B3C141 #41C14F
monochromatic
#4B2166 #6D3094 #8F41C1 #AA6FD0 #C59DDF

Accessibility & contrast

On white

5.68
#8F41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8F41C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41C1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41C1#FFFFFF#000000##FFFFFF
##8F41C11.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#885C7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f41c1;
/* rgb */ color: rgb(143, 65, 193);
/* oklch */ color: oklch(53.6% 0.196 309.3);
Tailwind
colors: {
  custom: {
    50: '#b47bd4',
    500: '#8f41c1',
    950: '#000000',
  },
}
SCSS
$custom: #8f41c1;
$custom-light: #b47bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41c1",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 276.563,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.1959,
    "h": 309.3
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#8F41C1
secondary
#A9CB92
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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