#8E46D9#8E46D9

#8E46D9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.214 H 302.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E46D9
RGBrgb(142, 70, 217)
HSLhsl(269, 66%, 56%)
HSVhsv(269, 68%, 85%)
CMYKcmyk(34.6%, 67.7%, 0%, 14.9%)
CIE-LABlab(45.83, 57.53, -63.68)
CIE-LCHlch(45.83, 85.81, 312.10°)
OKLaboklab(55.83% 0.1147 -0.1812)
OKLCHoklch(55.83% 0.214 302.3)
XYZxyz(25.8669, 15.1408, 67.1919)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D9 #91D946
analogous
#4648D9 #8E46D9 #D846D9
triadic
#8E46D9 #D98E46 #46D98E
tetradic
#8E46D9 #D94648 #91D946 #46D9D8
square
#8E46D9 #D94648 #91D946 #46D9D8
split-complementary
#8E46D9 #D9D846 #48D946
monochromatic
#511C89 #6F26BB #8E46D9 #AD79E3 #CCACEE

Accessibility & contrast

On white

5.21
#8E46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46D9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46D9#FFFFFF#000000##FFFFFF
##8E46D91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#7F688A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e46d9;
/* rgb */ color: rgb(142, 70, 217);
/* oklch */ color: oklch(55.8% 0.214 302.3);
Tailwind
colors: {
  custom: {
    50: '#b47ee6',
    500: '#8e46d9',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d9;
$custom-light: #b47ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d9",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 269.388,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.21443,
    "h": 302.3
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#8E46D9
secondary
#BEDC9F
accent
#E93F96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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