#8E7AED#8E7AED

#8E7AED is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.0% C 0.167 H 288.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8E7AED
RGBrgb(142, 122, 237)
HSLhsl(250, 76%, 70%)
HSVhsv(250, 49%, 93%)
CMYKcmyk(40.1%, 48.5%, 0%, 7.1%)
CIE-LABlab(57.83, 34.59, -55.64)
CIE-LCHlch(57.83, 65.51, 301.87°)
OKLaboklab(65.04% 0.054 -0.1576)
OKLCHoklch(65.04% 0.167 288.9)
XYZxyz(33.3967, 25.7832, 83.3214)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7AED #D9ED7A
analogous
#7A9FED #8E7AED #C87AED
triadic
#8E7AED #ED8E7A #7AED8E
tetradic
#8E7AED #ED7A9F #D9ED7A #7AEDC8
square
#8E7AED #ED7A9F #D9ED7A #7AEDC8
split-complementary
#8E7AED #EDC87A #9FED7A
monochromatic
#3C1CD0 #6044E6 #8E7AED #BCB0F4 #E8E4FB

Accessibility & contrast

On white

3.41
#8E7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8E7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7AED
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7AED#FFFFFF#000000##000000
##8E7AED1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#7491A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e7aed;
/* rgb */ color: rgb(142, 122, 237);
/* oklch */ color: oklch(65.0% 0.167 288.9);
Tailwind
colors: {
  custom: {
    50: '#b3a0f3',
    500: '#8e7aed',
    950: '#000000',
  },
}
SCSS
$custom: #8e7aed;
$custom-light: #b3a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7aed",
  "rgb": {
    "r": 142,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 250.435,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65043,
    "c": 0.16657,
    "h": 288.9
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#8E7AED
secondary
#ECF1D2
accent
#D80DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8E7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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