#8E41D3#8E41D3

#8E41D3 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.214 H 304.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8E41D3
RGBrgb(142, 65, 211)
HSLhsl(272, 62%, 54%)
HSVhsv(272, 69%, 83%)
CMYKcmyk(32.7%, 69.2%, 0%, 17.3%)
CIE-LABlab(44.57, 58.44, -62.28)
CIE-LCHlch(44.57, 85.40, 313.18°)
OKLaboklab(54.8% 0.1207 -0.177)
OKLCHoklch(54.8% 0.214 304.3)
XYZxyz(24.8008, 14.2346, 63.0564)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41D3 #86D341
analogous
#4541D3 #8E41D3 #D341CF
triadic
#8E41D3 #D38E41 #41D38E
tetradic
#8E41D3 #D34541 #86D341 #41CFD3
square
#8E41D3 #D34541 #86D341 #41CFD3
split-complementary
#8E41D3 #CFD341 #41D345
monochromatic
#4F1D7D #6F28AE #8E41D3 #AC73DF #C9A4EA

Accessibility & contrast

On white

5.46
#8E41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8E41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41D3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41D3#FFFFFF#000000##FFFFFF
##8E41D31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#816385
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e41d3;
/* rgb */ color: rgb(142, 65, 211);
/* oklch */ color: oklch(54.8% 0.214 304.3);
Tailwind
colors: {
  custom: {
    50: '#b47be1',
    500: '#8e41d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e41d3;
$custom-light: #b47be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41d3",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 271.644,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.21425,
    "h": 304.3
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#8E41D3
secondary
#B6D799
accent
#E5428F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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