#8E43D5#8E43D5

#8E43D5 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.214 H 303.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E43D5
RGBrgb(142, 67, 213)
HSLhsl(271, 63%, 55%)
HSVhsv(271, 69%, 84%)
CMYKcmyk(33.3%, 68.5%, 0%, 16.5%)
CIE-LABlab(45.04, 57.99, -62.66)
CIE-LCHlch(45.04, 85.38, 312.78°)
OKLaboklab(55.18% 0.1183 -0.1782)
OKLCHoklch(55.18% 0.214 303.6)
XYZxyz(25.1700, 14.5692, 64.4240)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E43D5 #8AD543
analogous
#4543D5 #8E43D5 #D543D3
triadic
#8E43D5 #D58E43 #43D58E
tetradic
#8E43D5 #D54543 #8AD543 #43D3D5
square
#8E43D5 #D54543 #8AD543 #43D3D5
split-complementary
#8E43D5 #D3D543 #43D545
monochromatic
#501D81 #6F28B3 #8E43D5 #AC75E0 #CAA7EB

Accessibility & contrast

On white

5.37
#8E43D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8E43D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E43D5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E43D5#FFFFFF#000000##FFFFFF
##8E43D51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#806587
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e43d5;
/* rgb */ color: rgb(142, 67, 213);
/* oklch */ color: oklch(55.2% 0.214 303.6);
Tailwind
colors: {
  custom: {
    50: '#b47de3',
    500: '#8e43d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e43d5;
$custom-light: #b47de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e43d5",
  "rgb": {
    "r": 142,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 270.822,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.2139,
    "h": 303.6
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#8E43D5
secondary
#B9D99B
accent
#E74192
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E43D5

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

Preview Lab → · Contrast checker → · Palette generator →

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