#8E34BD#8E34BD

#8E34BD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.208 H 311.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8E34BD
RGBrgb(142, 52, 189)
HSLhsl(279, 57%, 47%)
HSVhsv(279, 72%, 74%)
CMYKcmyk(24.9%, 72.5%, 0%, 25.9%)
CIE-LABlab(41.03, 59.16, -55.25)
CIE-LCHlch(41.03, 80.95, 316.96°)
OKLaboklab(51.79% 0.1369 -0.1563)
OKLCHoklch(51.79% 0.208 311.2)
XYZxyz(21.5669, 11.8814, 49.2915)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E34BD #63BD34
analogous
#4A34BD #8E34BD #BD34A8
triadic
#8E34BD #BD8E34 #34BD8E
tetradic
#8E34BD #BD4A34 #63BD34 #34A8BD
square
#8E34BD #BD4A34 #63BD34 #34A8BD
split-complementary
#8E34BD #A8BD34 #34BD4A
monochromatic
#461A5D #6A278D #8E34BD #AA5CD2 #C38CDF

Accessibility & contrast

On white

6.22
#8E34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E34BD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E34BD#FFFFFF#000000##FFFFFF
##8E34BD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#885376
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e34bd;
/* rgb */ color: rgb(142, 52, 189);
/* oklch */ color: oklch(51.8% 0.208 311.2);
Tailwind
colors: {
  custom: {
    50: '#b374d2',
    500: '#8e34bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e34bd;
$custom-light: #b374d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e34bd",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 279.416,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.20778,
    "h": 311.2
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#8E34BD
secondary
#9BCA83
accent
#E0487C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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