#8E49E3#8E49E3

#8E49E3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.221 H 299.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E49E3
RGBrgb(142, 73, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37.4%, 67.8%, 0%, 11%)
CIE-LABlab(47.06, 58.51, -67.37)
CIE-LCHlch(47.06, 89.23, 310.97°)
OKLaboklab(56.94% 0.1103 -0.192)
OKLCHoklch(56.94% 0.221 299.9)
XYZxyz(27.3996, 16.0617, 74.3148)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49E3 #9EE349
analogous
#4951E3 #8E49E3 #DB49E3
triadic
#8E49E3 #E38E49 #49E38E
tetradic
#8E49E3 #E34951 #9EE349 #49E3DB
square
#8E49E3 #E34951 #9EE349 #49E3DB
split-complementary
#8E49E3 #E3DB49 #51E349
monochromatic
#52189A #6E20CF #8E49E3 #AF7EEB #D0B3F3

Accessibility & contrast

On white

4.99
#8E49E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8E49E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49E3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49E3#FFFFFF#000000##FFFFFF
##8E49E31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#7B6D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e49e3;
/* rgb */ color: rgb(142, 73, 227);
/* oklch */ color: oklch(56.9% 0.221 299.9);
Tailwind
colors: {
  custom: {
    50: '#b581ed',
    500: '#8e49e3',
    950: '#000000',
  },
}
SCSS
$custom: #8e49e3;
$custom-light: #b581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49e3",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 227
  },
  "hsl": {
    "h": 266.883,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.22145,
    "h": 299.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#8E49E3
secondary
#C7E2A6
accent
#F0389D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E49E3

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

Preview Lab → · Contrast checker → · Palette generator →

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