#8E4AC8#8E4AC8

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

Color values

HEX#8E4AC8
RGBrgb(142, 74, 200)
HSLhsl(272, 53%, 54%)
HSVhsv(272, 63%, 78%)
CMYKcmyk(29%, 63%, 0%, 21.6%)
CIE-LABlab(45.38, 51.56, -54.62)
CIE-LCHlch(45.38, 75.11, 313.35°)
OKLaboklab(55.15% 0.1119 -0.1546)
OKLCHoklch(55.15% 0.191 305.9)
XYZxyz(24.0272, 14.8187, 56.2269)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4AC8 #84C84A
analogous
#4F4AC8 #8E4AC8 #C84AC3
triadic
#8E4AC8 #C88E4A #4AC88E
tetradic
#8E4AC8 #C84F4A #84C84A #4AC3C8
square
#8E4AC8 #C84F4A #84C84A #4AC3C8
split-complementary
#8E4AC8 #C3C84A #4AC84F
monochromatic
#4F2374 #6F32A3 #8E4AC8 #AB79D6 #C9A8E5

Accessibility & contrast

On white

5.30
#8E4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8E4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4AC8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4AC8#FFFFFF#000000##FFFFFF
##8E4AC81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e4ac8;
/* rgb */ color: rgb(142, 74, 200);
/* oklch */ color: oklch(55.1% 0.191 305.9);
Tailwind
colors: {
  custom: {
    50: '#b380d9',
    500: '#8e4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ac8;
$custom-light: #b380d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ac8",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 272.381,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.19081,
    "h": 305.9
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#8E4AC8
secondary
#B5D29C
accent
#DD4B8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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