#8E46BF#8E46BF

#8E46BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.187 H 308.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8E46BF
RGBrgb(142, 70, 191)
HSLhsl(276, 49%, 51%)
HSVhsv(276, 63%, 75%)
CMYKcmyk(25.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(44.08, 51.47, -51.50)
CIE-LCHlch(44.08, 72.81, 314.99°)
OKLaboklab(54.02% 0.1171 -0.1454)
OKLCHoklch(54.02% 0.187 308.8)
XYZxyz(22.7476, 13.8931, 50.7634)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46BF #77BF46
analogous
#5146BF #8E46BF #BF46B3
triadic
#8E46BF #BF8E46 #46BF8E
tetradic
#8E46BF #BF5146 #77BF46 #46B3BF
square
#8E46BF #BF5146 #77BF46 #46B3BF
split-complementary
#8E46BF #B3BF46 #46BF51
monochromatic
#4C2467 #6D3394 #8E46BF #AA73CF #C6A1DE

Accessibility & contrast

On white

5.56
#8E46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46BF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46BF#FFFFFF#000000##FFFFFF
##8E46BF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#875E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e46bf;
/* rgb */ color: rgb(142, 70, 191);
/* oklch */ color: oklch(54.0% 0.187 308.8);
Tailwind
colors: {
  custom: {
    50: '#b37ed3',
    500: '#8e46bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e46bf;
$custom-light: #b37ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46bf",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 275.702,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.18666,
    "h": 308.8
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#8E46BF
secondary
#ABCB96
accent
#D85087
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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