#8E46D7#8E46D7

#8E46D7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.212 H 302.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8E46D7
RGBrgb(142, 70, 215)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(34%, 67.4%, 0%, 15.7%)
CIE-LABlab(45.69, 57.05, -62.76)
CIE-LCHlch(45.69, 84.82, 312.27°)
OKLaboklab(55.69% 0.115 -0.1785)
OKLCHoklch(55.69% 0.212 302.8)
XYZxyz(25.6084, 15.0374, 65.8302)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D7 #8FD746
analogous
#4646D7 #8E46D7 #D646D7
triadic
#8E46D7 #D78E46 #46D78E
tetradic
#8E46D7 #D74646 #8FD746 #46D7D6
square
#8E46D7 #D74646 #8FD746 #46D7D6
split-complementary
#8E46D7 #D7D646 #46D746
monochromatic
#511D86 #6F28B8 #8E46D7 #AD78E2 #CBABED

Accessibility & contrast

On white

5.24
#8E46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8E46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46D7#FFFFFF#000000##FFFFFF
##8E46D71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#7F6789
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e46d7;
/* rgb */ color: rgb(142, 70, 215);
/* oklch */ color: oklch(55.7% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#b47ee4',
    500: '#8e46d7',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d7;
$custom-light: #b47ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d7",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 269.793,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.2123,
    "h": 302.8
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

primary
#8E46D7
secondary
#BDDA9E
accent
#E74094
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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