#8E4ACA#8E4ACA

#8E4ACA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.193 H 305.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8E4ACA
RGBrgb(142, 74, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 63%, 79%)
CMYKcmyk(29.7%, 63.4%, 0%, 20.8%)
CIE-LABlab(45.51, 52.03, -55.57)
CIE-LCHlch(45.51, 76.12, 313.12°)
OKLaboklab(55.28% 0.1118 -0.1573)
OKLCHoklch(55.28% 0.193 305.4)
XYZxyz(24.2624, 14.9128, 57.4659)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ACA #86CA4A
analogous
#4E4ACA #8E4ACA #CA4AC6
triadic
#8E4ACA #CA8E4A #4ACA8E
tetradic
#8E4ACA #CA4E4A #86CA4A #4AC6CA
square
#8E4ACA #CA4E4A #86CA4A #4AC6CA
split-complementary
#8E4ACA #C6CA4A #4ACA4E
monochromatic
#4F2377 #6F31A6 #8E4ACA #AC79D8 #C9A9E6

Accessibility & contrast

On white

5.27
#8E4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8E4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ACA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ACA#FFFFFF#000000##FFFFFF
##8E4ACA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#836583
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4aca;
/* rgb */ color: rgb(142, 74, 202);
/* oklch */ color: oklch(55.3% 0.193 305.4);
Tailwind
colors: {
  custom: {
    50: '#b380db',
    500: '#8e4aca',
    950: '#000000',
  },
}
SCSS
$custom: #8e4aca;
$custom-light: #b380db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4aca",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 271.875,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.193,
    "h": 305.4
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#8E4ACA
secondary
#B6D39D
accent
#DE4A8F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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