#8E49D9#8E49D9

#8E49D9 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.211 H 302.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8E49D9
RGBrgb(142, 73, 217)
HSLhsl(269, 65%, 57%)
HSVhsv(269, 66%, 85%)
CMYKcmyk(34.6%, 66.4%, 0%, 14.9%)
CIE-LABlab(46.35, 56.09, -62.84)
CIE-LCHlch(46.35, 84.23, 311.75°)
OKLaboklab(56.2% 0.1115 -0.1787)
OKLCHoklch(56.2% 0.211 302)
XYZxyz(26.0593, 15.5255, 67.2560)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49D9 #94D949
analogous
#494CD9 #8E49D9 #D649D9
triadic
#8E49D9 #D98E49 #49D98E
tetradic
#8E49D9 #D9494C #94D949 #49D9D6
square
#8E49D9 #D9494C #94D949 #49D9D6
split-complementary
#8E49D9 #D9D649 #4CD949
monochromatic
#521D8B #6F28BD #8E49D9 #AD7CE4 #CDAEEE

Accessibility & contrast

On white

5.12
#8E49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8E49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49D9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49D9#FFFFFF#000000##FFFFFF
##8E49D91.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#7F6A8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e49d9;
/* rgb */ color: rgb(142, 73, 217);
/* oklch */ color: oklch(56.2% 0.211 302.0);
Tailwind
colors: {
  custom: {
    50: '#b480e6',
    500: '#8e49d9',
    950: '#000000',
  },
}
SCSS
$custom: #8e49d9;
$custom-light: #b480e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49d9",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 268.75,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.21066,
    "h": 302
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#8E49D9
secondary
#C0DCA2
accent
#E83F97
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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