#8E34BF#8E34BF

#8E34BF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.210 H 310.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E34BF
RGBrgb(142, 52, 191)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 73%, 75%)
CMYKcmyk(25.7%, 72.8%, 0%, 25.1%)
CIE-LABlab(41.17, 59.59, -56.19)
CIE-LCHlch(41.17, 81.90, 316.68°)
OKLaboklab(51.93% 0.1366 -0.1591)
OKLCHoklch(51.93% 0.21 310.7)
XYZxyz(21.7855, 11.9689, 50.4427)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E34BF #65BF34
analogous
#4834BF #8E34BF #BF34AA
triadic
#8E34BF #BF8E34 #34BF8E
tetradic
#8E34BF #BF4834 #65BF34 #34AABF
square
#8E34BF #BF4834 #65BF34 #34AABF
split-complementary
#8E34BF #AABF34 #34BF48
monochromatic
#461A5F #6A278F #8E34BF #A95DD3 #C38DE0

Accessibility & contrast

On white

6.19
#8E34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E34BF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E34BF#FFFFFF#000000##FFFFFF
##8E34BF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1A63BC
Tritanopia (blue-blind)
#875477
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e34bf;
/* rgb */ color: rgb(142, 52, 191);
/* oklch */ color: oklch(51.9% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#b474d3',
    500: '#8e34bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e34bf;
$custom-light: #b474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e34bf",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 278.849,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.20969,
    "h": 310.7
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#8E34BF
secondary
#9DCA84
accent
#E0477D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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