#8E4ADB#8E4ADB

#8E4ADB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.212 H 301.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8E4ADB
RGBrgb(142, 74, 219)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35.2%, 66.2%, 0%, 14.1%)
CIE-LABlab(46.66, 56.09, -63.47)
CIE-LCHlch(46.66, 84.70, 311.47°)
OKLaboklab(56.47% 0.1103 -0.1806)
OKLCHoklch(56.47% 0.212 301.4)
XYZxyz(26.3872, 15.7627, 68.6564)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ADB #97DB4A
analogous
#4A4FDB #8E4ADB #D64ADB
triadic
#8E4ADB #DB8E4A #4ADB8E
tetradic
#8E4ADB #DB4A4F #97DB4A #4ADBD6
square
#8E4ADB #DB4A4F #97DB4A #4ADBD6
split-complementary
#8E4ADB #DBD64A #4FDB4A
monochromatic
#521C8E #6F26C1 #8E4ADB #AE7DE5 #CEB0EF

Accessibility & contrast

On white

5.06
#8E4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8E4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ADB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ADB#FFFFFF#000000##FFFFFF
##8E4ADB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#7E6B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4adb;
/* rgb */ color: rgb(142, 74, 219);
/* oklch */ color: oklch(56.5% 0.212 301.4);
Tailwind
colors: {
  custom: {
    50: '#b481e7',
    500: '#8e4adb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4adb;
$custom-light: #b481e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4adb",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 268.138,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.21157,
    "h": 301.4
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#8E4ADB
secondary
#C2DEA3
accent
#EA3E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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