#8E34D3#8E34D3

#8E34D3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.4% C 0.229 H 305.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8E34D3
RGBrgb(142, 52, 211)
HSLhsl(274, 64%, 52%)
HSVhsv(274, 75%, 83%)
CMYKcmyk(32.7%, 75.4%, 0%, 17.3%)
CIE-LABlab(42.63, 63.93, -65.43)
CIE-LCHlch(42.63, 91.48, 314.34°)
OKLaboklab(53.42% 0.1329 -0.1862)
OKLCHoklch(53.42% 0.229 305.5)
XYZxyz(24.1386, 12.9101, 62.8356)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E34D3 #79D334
analogous
#3F34D3 #8E34D3 #D334C9
triadic
#8E34D3 #D38E34 #34D38E
tetradic
#8E34D3 #D33F34 #79D334 #34C9D3
square
#8E34D3 #D33F34 #79D334 #34C9D3
split-complementary
#8E34D3 #C9D334 #34D33F
monochromatic
#4C1974 #6D24A6 #8E34D3 #AA66DE #C699E9

Accessibility & contrast

On white

5.86
#8E34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8E34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E34D3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E34D3#FFFFFF#000000##FFFFFF
##8E34D31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#815C82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e34d3;
/* rgb */ color: rgb(142, 52, 211);
/* oklch */ color: oklch(53.4% 0.229 305.5);
Tailwind
colors: {
  custom: {
    50: '#b575e1',
    500: '#8e34d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e34d3;
$custom-light: #b575e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e34d3",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 273.962,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.2288,
    "h": 305.5
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#8E34D3
secondary
#ADD48E
accent
#E74089
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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