#8E47EA#8E47EA

#8E47EA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.231 H 298.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E47EA
RGBrgb(142, 71, 234)
HSLhsl(266, 80%, 60%)
HSVhsv(266, 70%, 92%)
CMYKcmyk(39.3%, 69.7%, 0%, 8.2%)
CIE-LABlab(47.23, 61.15, -71.05)
CIE-LCHlch(47.23, 93.74, 310.72°)
OKLaboklab(57.22% 0.1111 -0.2028)
OKLCHoklch(57.22% 0.231 298.7)
XYZxyz(28.2561, 16.1974, 79.4637)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47EA #A3EA47
analogous
#4752EA #8E47EA #DF47EA
triadic
#8E47EA #EA8E47 #47EA8E
tetradic
#8E47EA #EA4752 #A3EA47 #47EADF
square
#8E47EA #EA4752 #A3EA47 #47EADF
split-complementary
#8E47EA #EADF47 #52EA47
monochromatic
#5213A4 #6D19DB #8E47EA #B07EF0 #D1B5F7

Accessibility & contrast

On white

4.95
#8E47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8E47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47EA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47EA#FFFFFF#000000##FFFFFF
##8E47EA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#786F94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e47ea;
/* rgb */ color: rgb(142, 71, 234);
/* oklch */ color: oklch(57.2% 0.231 298.7);
Tailwind
colors: {
  custom: {
    50: '#b680f2',
    500: '#8e47ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e47ea;
$custom-light: #b680f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47ea",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 266.135,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.23128,
    "h": 298.7
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#8E47EA
secondary
#CAE6A7
accent
#F632A1
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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