#8E47D2#8E47D2

#8E47D2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.206 H 303.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8E47D2
RGBrgb(142, 71, 210)
HSLhsl(271, 61%, 55%)
HSVhsv(271, 66%, 82%)
CMYKcmyk(32.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(45.51, 55.39, -60.18)
CIE-LCHlch(45.51, 81.79, 312.63°)
OKLaboklab(55.45% 0.1145 -0.1709)
OKLCHoklch(55.45% 0.206 303.8)
XYZxyz(25.0388, 14.9105, 62.5192)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47D2 #8BD247
analogous
#4847D2 #8E47D2 #D247D1
triadic
#8E47D2 #D28E47 #47D28E
tetradic
#8E47D2 #D24847 #8BD247 #47D1D2
square
#8E47D2 #D24847 #8BD247 #47D1D2
split-complementary
#8E47D2 #D1D247 #47D248
monochromatic
#501F7F #6F2BB1 #8E47D2 #AC78DE #CAA9EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E47D2#FFFFFF#000000##FFFFFF
##8E47D21.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)
#006AD6
Deuteranopia (green-blind)
#136CCF
Tritanopia (blue-blind)
#816687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e47d2;
/* rgb */ color: rgb(142, 71, 210);
/* oklch */ color: oklch(55.5% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#b47fe1',
    500: '#8e47d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e47d2;
$custom-light: #b47fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47d2",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 270.647,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.20569,
    "h": 303.8
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#8E47D2
secondary
#BAD89D
accent
#E44492
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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