#8E41BF#8E41BF

#8E41BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.194 H 309.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E41BF
RGBrgb(142, 65, 191)
HSLhsl(277, 50%, 50%)
HSVhsv(277, 66%, 75%)
CMYKcmyk(25.7%, 66%, 0%, 25.1%)
CIE-LABlab(43.20, 53.88, -52.91)
CIE-LCHlch(43.20, 75.51, 315.52°)
OKLaboklab(53.39% 0.1229 -0.1495)
OKLCHoklch(53.39% 0.194 309.4)
XYZxyz(22.4477, 13.2934, 50.6635)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41BF #72BF41
analogous
#4F41BF #8E41BF #BF41B1
triadic
#8E41BF #BF8E41 #41BF8E
tetradic
#8E41BF #BF4F41 #72BF41 #41B1BF
square
#8E41BF #BF4F41 #72BF41 #41B1BF
split-complementary
#8E41BF #B1BF41 #41BF4F
monochromatic
#4A2264 #6C3192 #8E41BF #A96FCE #C49DDE

Accessibility & contrast

On white

5.74
#8E41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8E41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41BF#FFFFFF#000000##FFFFFF
##8E41BF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#875B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e41bf;
/* rgb */ color: rgb(142, 65, 191);
/* oklch */ color: oklch(53.4% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#b37bd3',
    500: '#8e41bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e41bf;
$custom-light: #b37bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41bf",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 276.667,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.19352,
    "h": 309.4
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#8E41BF
secondary
#A8CA92
accent
#D94F85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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