#8E41CF#8E41CF

#8E41CF is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.210 H 305.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E41CF
RGBrgb(142, 65, 207)
HSLhsl(273, 60%, 53%)
HSVhsv(273, 69%, 81%)
CMYKcmyk(31.4%, 68.6%, 0%, 18.8%)
CIE-LABlab(44.29, 57.52, -60.44)
CIE-LCHlch(44.29, 83.43, 313.58°)
OKLaboklab(54.51% 0.1212 -0.1716)
OKLCHoklch(54.51% 0.21 305.2)
XYZxyz(24.3056, 14.0365, 60.4482)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41CF #82CF41
analogous
#4741CF #8E41CF #CF41C9
triadic
#8E41CF #CF8E41 #41CF8E
tetradic
#8E41CF #CF4741 #82CF41 #41C9CF
square
#8E41CF #CF4741 #82CF41 #41C9CF
split-complementary
#8E41CF #C9CF41 #41CF47
monochromatic
#4F1E77 #6F2BA8 #8E41CF #AB72DB #C8A3E8

Accessibility & contrast

On white

5.52
#8E41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8E41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41CF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41CF#FFFFFF#000000##FFFFFF
##8E41CF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0969CC
Tritanopia (blue-blind)
#826183
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e41cf;
/* rgb */ color: rgb(142, 65, 207);
/* oklch */ color: oklch(54.5% 0.210 305.2);
Tailwind
colors: {
  custom: {
    50: '#b47bde',
    500: '#8e41cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e41cf;
$custom-light: #b47bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41cf",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 272.535,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.21011,
    "h": 305.2
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#8E41CF
secondary
#B3D497
accent
#E3458D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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