#8E46BE#8E46BE

#8E46BE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.186 H 309.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8E46BE
RGBrgb(142, 70, 190)
HSLhsl(276, 48%, 51%)
HSVhsv(276, 63%, 75%)
CMYKcmyk(25.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(44.02, 51.24, -51.02)
CIE-LCHlch(44.02, 72.31, 315.13°)
OKLaboklab(53.95% 0.1171 -0.144)
OKLCHoklch(53.95% 0.186 309.1)
XYZxyz(22.6379, 13.8492, 50.1858)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46BE #76BE46
analogous
#5246BE #8E46BE #BE46B2
triadic
#8E46BE #BE8E46 #46BE8E
tetradic
#8E46BE #BE5246 #76BE46 #46B2BE
square
#8E46BE #BE5246 #76BE46 #46B2BE
split-complementary
#8E46BE #B2BE46 #46BE52
monochromatic
#4B2466 #6D3493 #8E46BE #AA73CE #C5A1DE

Accessibility & contrast

On white

5.57
#8E46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8E46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46BE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46BE#FFFFFF#000000##FFFFFF
##8E46BE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#875E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e46be;
/* rgb */ color: rgb(142, 70, 190);
/* oklch */ color: oklch(54.0% 0.186 309.1);
Tailwind
colors: {
  custom: {
    50: '#b37ed2',
    500: '#8e46be',
    950: '#000000',
  },
}
SCSS
$custom: #8e46be;
$custom-light: #b37ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46be",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 276,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.18558,
    "h": 309.1
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#8E46BE
secondary
#ABCA95
accent
#D85086
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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