#8E4AC7#8E4AC7

#8E4AC7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.190 H 306.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8E4AC7
RGBrgb(142, 74, 199)
HSLhsl(273, 53%, 54%)
HSVhsv(273, 63%, 78%)
CMYKcmyk(28.6%, 62.8%, 0%, 22%)
CIE-LABlab(45.32, 51.32, -54.15)
CIE-LCHlch(45.32, 74.61, 313.47°)
OKLaboklab(55.08% 0.1119 -0.1532)
OKLCHoklch(55.08% 0.19 306.2)
XYZxyz(23.9107, 14.7721, 55.6134)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4AC7 #83C74A
analogous
#4F4AC7 #8E4AC7 #C74AC1
triadic
#8E4AC7 #C78E4A #4AC78E
tetradic
#8E4AC7 #C74F4A #83C74A #4AC1C7
square
#8E4AC7 #C74F4A #83C74A #4AC1C7
split-complementary
#8E4AC7 #C1C74A #4AC74F
monochromatic
#4F2473 #6F32A2 #8E4AC7 #AB79D5 #C8A7E4

Accessibility & contrast

On white

5.31
#8E4AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8E4AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4AC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4AC7#FFFFFF#000000##FFFFFF
##8E4AC71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#846482
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e4ac7;
/* rgb */ color: rgb(142, 74, 199);
/* oklch */ color: oklch(55.1% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#b380d9',
    500: '#8e4ac7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ac7;
$custom-light: #b380d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ac7",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 272.64,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.18971,
    "h": 306.2
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#8E4AC7
secondary
#B4D19C
accent
#DC4C8E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E4AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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