#8E47CA#8E47CA

#8E47CA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.197 H 305.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8E47CA
RGBrgb(142, 71, 202)
HSLhsl(273, 55%, 54%)
HSVhsv(273, 65%, 79%)
CMYKcmyk(29.7%, 64.9%, 0%, 20.8%)
CIE-LABlab(44.97, 53.51, -56.44)
CIE-LCHlch(44.97, 77.78, 313.47°)
OKLaboklab(54.89% 0.1152 -0.1599)
OKLCHoklch(54.89% 0.197 305.8)
XYZxyz(24.0669, 14.5217, 57.4008)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47CA #83CA47
analogous
#4C47CA #8E47CA #CA47C4
triadic
#8E47CA #CA8E47 #47CA8E
tetradic
#8E47CA #CA4C47 #83CA47 #47C4CA
square
#8E47CA #CA4C47 #83CA47 #47C4CA
split-complementary
#8E47CA #C4CA47 #47CA4C
monochromatic
#4F2275 #6F2FA4 #8E47CA #AB77D8 #C8A6E5

Accessibility & contrast

On white

5.38
#8E47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8E47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47CA#FFFFFF#000000##FFFFFF
##8E47CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#846382
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e47ca;
/* rgb */ color: rgb(142, 71, 202);
/* oklch */ color: oklch(54.9% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#b37fdb',
    500: '#8e47ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e47ca;
$custom-light: #b37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47ca",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 272.519,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.19709,
    "h": 305.8
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#8E47CA
secondary
#B4D29A
accent
#DF498E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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