#8F41D4#8F41D4

#8F41D4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.216 H 304.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F41D4
RGBrgb(143, 65, 212)
HSLhsl(272, 63%, 54%)
HSVhsv(272, 69%, 83%)
CMYKcmyk(32.5%, 69.3%, 0%, 16.9%)
CIE-LABlab(44.76, 58.87, -62.53)
CIE-LCHlch(44.76, 85.88, 313.27°)
OKLaboklab(54.99% 0.1219 -0.1777)
OKLCHoklch(54.99% 0.216 304.4)
XYZxyz(25.0990, 14.3738, 63.7267)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41D4 #86D441
analogous
#4641D4 #8F41D4 #D441CF
triadic
#8F41D4 #D48F41 #41D48F
tetradic
#8F41D4 #D44641 #86D441 #41CFD4
square
#8F41D4 #D44641 #86D441 #41CFD4
split-complementary
#8F41D4 #CFD441 #41D446
monochromatic
#501D7E #7028B0 #8F41D4 #AC73DF #CAA5EB

Accessibility & contrast

On white

5.42
#8F41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8F41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41D4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41D4#FFFFFF#000000##FFFFFF
##8F41D41.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#826386
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f41d4;
/* rgb */ color: rgb(143, 65, 212);
/* oklch */ color: oklch(55.0% 0.216 304.4);
Tailwind
colors: {
  custom: {
    50: '#b57ce2',
    500: '#8f41d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f41d4;
$custom-light: #b57ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41d4",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 271.837,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.21551,
    "h": 304.4
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#8F41D4
secondary
#B6D899
accent
#E6428F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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