#8E41CD#8E41CD

#8E41CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.208 H 305.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8E41CD
RGBrgb(142, 65, 205)
HSLhsl(273, 58%, 53%)
HSVhsv(273, 68%, 80%)
CMYKcmyk(30.7%, 68.3%, 0%, 19.6%)
CIE-LABlab(44.15, 57.06, -59.51)
CIE-LCHlch(44.15, 82.44, 313.79°)
OKLaboklab(54.36% 0.1215 -0.1689)
OKLCHoklch(54.36% 0.208 305.7)
XYZxyz(24.0627, 13.9393, 59.1687)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41CD #80CD41
analogous
#4841CD #8E41CD #CD41C6
triadic
#8E41CD #CD8E41 #41CD8E
tetradic
#8E41CD #CD4841 #80CD41 #41C6CD
square
#8E41CD #CD4841 #80CD41 #41C6CD
split-complementary
#8E41CD #C6CD41 #41CD48
monochromatic
#4E1F75 #6E2CA5 #8E41CD #AB71DA #C8A2E6

Accessibility & contrast

On white

5.54
#8E41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8E41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41CD#FFFFFF#000000##FFFFFF
##8E41CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#1169CA
Tritanopia (blue-blind)
#836082
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e41cd;
/* rgb */ color: rgb(142, 65, 205);
/* oklch */ color: oklch(54.4% 0.208 305.7);
Tailwind
colors: {
  custom: {
    50: '#b47bdd',
    500: '#8e41cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e41cd;
$custom-light: #b47bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41cd",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 273,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.20804,
    "h": 305.7
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#8E41CD
secondary
#B2D397
accent
#E2468C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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