#8E46BB#8E46BB

#8E46BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.182 H 310.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8E46BB
RGBrgb(142, 70, 187)
HSLhsl(277, 46%, 50%)
HSVhsv(277, 63%, 73%)
CMYKcmyk(24.1%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.83, 50.57, -49.57)
CIE-LCHlch(43.83, 70.81, 315.57°)
OKLaboklab(53.76% 0.1172 -0.1397)
OKLCHoklch(53.76% 0.182 310)
XYZxyz(22.3134, 13.7194, 48.4767)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46BB #73BB46
analogous
#5346BB #8E46BB #BB46AD
triadic
#8E46BB #BB8E46 #46BB8E
tetradic
#8E46BB #BB5346 #73BB46 #46ADBB
square
#8E46BB #BB5346 #73BB46 #46ADBB
split-complementary
#8E46BB #ADBB46 #46BB53
monochromatic
#4A2462 #6C358F #8E46BB #A973CB #C5A0DC

Accessibility & contrast

On white

5.61
#8E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46BB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46BB#FFFFFF#000000##FFFFFF
##8E46BB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#3769B8
Tritanopia (blue-blind)
#885D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e46bb;
/* rgb */ color: rgb(142, 70, 187);
/* oklch */ color: oklch(53.8% 0.182 310.0);
Tailwind
colors: {
  custom: {
    50: '#b27ed0',
    500: '#8e46bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e46bb;
$custom-light: #b27ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46bb",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 276.923,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.18237,
    "h": 310
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#8E46BB
secondary
#A8C894
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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