#8F41E1#8F41E1

#8F41E1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.229 H 301.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F41E1
RGBrgb(143, 65, 225)
HSLhsl(269, 73%, 57%)
HSVhsv(269, 71%, 88%)
CMYKcmyk(36.4%, 71.1%, 0%, 11.8%)
CIE-LABlab(45.71, 61.90, -68.42)
CIE-LCHlch(45.71, 92.26, 312.13°)
OKLaboklab(55.96% 0.1197 -0.195)
OKLCHoklch(55.96% 0.229 301.5)
XYZxyz(26.8053, 15.0563, 72.7135)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F41E1 #93E141
analogous
#4143E1 #8F41E1 #DF41E1
triadic
#8F41E1 #E18F41 #41E18F
tetradic
#8F41E1 #E14143 #93E141 #41E1DF
square
#8F41E1 #E14143 #93E141 #41E1DF
split-complementary
#8F41E1 #E1DF41 #43E141
monochromatic
#521791 #701FC6 #8F41E1 #AE76E9 #CDABF2

Accessibility & contrast

On white

5.24
#8F41E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8F41E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F41E1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F41E1#FFFFFF#000000##FFFFFF
##8F41E11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#7D688D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f41e1;
/* rgb */ color: rgb(143, 65, 225);
/* oklch */ color: oklch(56.0% 0.229 301.5);
Tailwind
colors: {
  custom: {
    50: '#b67ceb',
    500: '#8f41e1',
    950: '#000000',
  },
}
SCSS
$custom: #8f41e1;
$custom-light: #b67ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f41e1",
  "rgb": {
    "r": 143,
    "g": 65,
    "b": 225
  },
  "hsl": {
    "h": 269.25,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.22887,
    "h": 301.5
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#8F41E1
secondary
#C0E09E
accent
#EF3896
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F41E1

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

Preview Lab → · Contrast checker → · Palette generator →

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