#8F41DA#8F41DA

#8F41DA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.222 H 303.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F41DA
RGBrgb(143, 65, 218)
HSLhsl(271, 67%, 55%)
HSVhsv(271, 70%, 85%)
CMYKcmyk(34.4%, 70.2%, 0%, 14.5%)
CIE-LABlab(45.20, 60.26, -65.27)
CIE-LCHlch(45.20, 88.83, 312.72°)
OKLaboklab(55.43% 0.121 -0.1858)
OKLCHoklch(55.43% 0.222 303.1)
XYZxyz(25.8699, 14.6822, 67.7871)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41DA #8CDA41
analogous
#4241DA #8F41DA #DA41D9
triadic
#8F41DA #DA8F41 #41DA8F
tetradic
#8F41DA #DA4241 #8CDA41 #41D9DA
square
#8F41DA #DA4241 #8CDA41 #41D9DA
split-complementary
#8F41DA #D9DA41 #41DA42
monochromatic
#511A86 #7024BA #8F41DA #AD74E4 #CBA7EE

Accessibility & contrast

On white

5.33
#8F41DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F41DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41DA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41DA#FFFFFF#000000##FFFFFF
##8F41DA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#806589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f41da;
/* rgb */ color: rgb(143, 65, 218);
/* oklch */ color: oklch(55.4% 0.222 303.1);
Tailwind
colors: {
  custom: {
    50: '#b57ce6',
    500: '#8f41da',
    950: '#000000',
  },
}
SCSS
$custom: #8f41da;
$custom-light: #b57ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41da",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 218
  },
  "hsl": {
    "h": 270.588,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.22168,
    "h": 303.1
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#8F41DA
secondary
#BBDB9C
accent
#EA3E92
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41DA

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

Preview Lab → · Contrast checker → · Palette generator →

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