#8E49D5#8E49D5

#8E49D5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.206 H 302.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E49D5
RGBrgb(142, 73, 213)
HSLhsl(270, 63%, 56%)
HSVhsv(270, 66%, 84%)
CMYKcmyk(33.3%, 65.7%, 0%, 16.5%)
CIE-LABlab(46.07, 55.13, -61.00)
CIE-LCHlch(46.07, 82.22, 312.11°)
OKLaboklab(55.92% 0.112 -0.1733)
OKLCHoklch(55.92% 0.206 302.9)
XYZxyz(25.5453, 15.3200, 64.5491)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49D5 #90D549
analogous
#494AD5 #8E49D5 #D449D5
triadic
#8E49D5 #D58E49 #49D58E
tetradic
#8E49D5 #D5494A #90D549 #49D5D4
square
#8E49D5 #D5494A #90D549 #49D5D4
split-complementary
#8E49D5 #D5D449 #4AD549
monochromatic
#511F85 #6F2AB7 #8E49D5 #AD7BE0 #CCACEC

Accessibility & contrast

On white

5.17
#8E49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8E49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49D5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49D5#FFFFFF#000000##FFFFFF
##8E49D51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#806889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e49d5;
/* rgb */ color: rgb(142, 73, 213);
/* oklch */ color: oklch(55.9% 0.206 302.9);
Tailwind
colors: {
  custom: {
    50: '#b480e3',
    500: '#8e49d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e49d5;
$custom-light: #b480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49d5",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 269.571,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.20633,
    "h": 302.9
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#8E49D5
secondary
#BDDAA0
accent
#E64295
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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