#8E3ABE#8E3ABE

#8E3ABE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.202 H 310.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8E3ABE
RGBrgb(142, 58, 190)
HSLhsl(278, 53%, 49%)
HSVhsv(278, 69%, 75%)
CMYKcmyk(25.3%, 69.5%, 0%, 25.5%)
CIE-LABlab(41.99, 56.85, -54.27)
CIE-LCHlch(41.99, 78.59, 316.33°)
OKLaboklab(52.5% 0.1307 -0.1535)
OKLCHoklch(52.5% 0.202 310.4)
XYZxyz(21.9609, 12.4951, 49.9601)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ABE #6ABE3A
analogous
#4C3ABE #8E3ABE #BE3AAC
triadic
#8E3ABE #BE8E3A #3ABE8E
tetradic
#8E3ABE #BE4C3A #6ABE3A #3AACBE
square
#8E3ABE #BE4C3A #6ABE3A #3AACBE
split-complementary
#8E3ABE #ACBE3A #3ABE4C
monochromatic
#481D60 #6B2C8F #8E3ABE #A965D0 #C394DE

Accessibility & contrast

On white

6.00
#8E3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8E3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3ABE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ABE#FFFFFF#000000##FFFFFF
##8E3ABE1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#2564BB
Tritanopia (blue-blind)
#885678
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e3abe;
/* rgb */ color: rgb(142, 58, 190);
/* oklch */ color: oklch(52.5% 0.202 310.4);
Tailwind
colors: {
  custom: {
    50: '#b377d2',
    500: '#8e3abe',
    950: '#000000',
  },
}
SCSS
$custom: #8e3abe;
$custom-light: #b377d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3abe",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 278.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.20156,
    "h": 310.4
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#8E3ABE
secondary
#A1CA8A
accent
#DD4B80
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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