#8D41EA#8D41EA

#8D41EA is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.238 H 299.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D41EA
RGBrgb(141, 65, 234)
HSLhsl(267, 80%, 59%)
HSVhsv(267, 72%, 92%)
CMYKcmyk(39.7%, 72.2%, 0%, 8.2%)
CIE-LABlab(46.16, 63.68, -72.81)
CIE-LCHlch(46.16, 96.72, 311.17°)
OKLaboklab(56.43% 0.1153 -0.208)
OKLCHoklch(56.43% 0.238 299)
XYZxyz(27.7223, 15.3835, 79.3347)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41EA #9EEA41
analogous
#4149EA #8D41EA #E141EA
triadic
#8D41EA #EA8D41 #41EA8D
tetradic
#8D41EA #EA4149 #9EEA41 #41EAE1
square
#8D41EA #EA4149 #9EEA41 #41EAE1
split-complementary
#8D41EA #EAE141 #49EA41
monochromatic
#51129F #6D18D6 #8D41EA #AE78F0 #CFAFF6

Accessibility & contrast

On white

5.15
#8D41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41EA#FFFFFF#000000##FFFFFF
##8D41EA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#776C92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d41ea;
/* rgb */ color: rgb(141, 65, 234);
/* oklch */ color: oklch(56.4% 0.238 299.0);
Tailwind
colors: {
  custom: {
    50: '#b67cf2',
    500: '#8d41ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d41ea;
$custom-light: #b67cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41ea",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 266.982,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.23781,
    "h": 299
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#8D41EA
secondary
#C7E5A2
accent
#F7319E
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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