#8E46D5#8E46D5

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

Color values

HEX#8E46D5
RGBrgb(142, 70, 213)
HSLhsl(270, 63%, 55%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(33.3%, 67.1%, 0%, 16.5%)
CIE-LABlab(45.55, 56.58, -61.84)
CIE-LCHlch(45.55, 83.82, 312.45°)
OKLaboklab(55.54% 0.1152 -0.1758)
OKLCHoklch(55.54% 0.21 303.2)
XYZxyz(25.3529, 14.9352, 64.4850)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D5 #8DD546
analogous
#4646D5 #8E46D5 #D546D4
triadic
#8E46D5 #D58E46 #46D58E
tetradic
#8E46D5 #D54646 #8DD546 #46D4D5
square
#8E46D5 #D54646 #8DD546 #46D4D5
split-complementary
#8E46D5 #D4D546 #46D546
monochromatic
#511E83 #6F29B5 #8E46D5 #AC78E0 #CBAAEC

Accessibility & contrast

On white

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

On black

3.99
#8E46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E46D5#FFFFFF#000000##FFFFFF
##8E46D51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#016CD2
Tritanopia (blue-blind)
#806688
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e46d5;
/* rgb */ color: rgb(142, 70, 213);
/* oklch */ color: oklch(55.5% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#b47ee3',
    500: '#8e46d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d5;
$custom-light: #b47ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d5",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 270.21,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.21017,
    "h": 303.2
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#8E46D5
secondary
#BBD99E
accent
#E64293
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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