#8F41E4#8F41E4

#8F41E4 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.232 H 300.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F41E4
RGBrgb(143, 65, 228)
HSLhsl(269, 75%, 57%)
HSVhsv(269, 71%, 89%)
CMYKcmyk(37.3%, 71.5%, 0%, 10.6%)
CIE-LABlab(45.94, 62.60, -69.76)
CIE-LCHlch(45.94, 93.73, 311.91°)
OKLaboklab(56.19% 0.1192 -0.199)
OKLCHoklch(56.19% 0.232 300.9)
XYZxyz(27.2182, 15.2215, 74.8878)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41E4 #96E441
analogous
#4144E4 #8F41E4 #E141E4
triadic
#8F41E4 #E48F41 #41E48F
tetradic
#8F41E4 #E44144 #96E441 #41E4E1
square
#8F41E4 #E44144 #96E441 #41E4E1
split-complementary
#8F41E4 #E4E141 #44E441
monochromatic
#531595 #701DCB #8F41E4 #AF77EC #CEACF3

Accessibility & contrast

On white

5.19
#8F41E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8F41E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41E4#FFFFFF#000000##FFFFFF
##8F41E41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#7C698F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f41e4;
/* rgb */ color: rgb(143, 65, 228);
/* oklch */ color: oklch(56.2% 0.232 300.9);
Tailwind
colors: {
  custom: {
    50: '#b67cee',
    500: '#8f41e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f41e4;
$custom-light: #b67cee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41e4",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 228
  },
  "hsl": {
    "h": 268.712,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.23195,
    "h": 300.9
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#8F41E4
secondary
#C2E19F
accent
#F23698
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41E4

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

Preview Lab → · Contrast checker → · Palette generator →

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