#8E49D2#8E49D2

#8E49D2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.203 H 303.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E49D2
RGBrgb(142, 73, 210)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 65%, 82%)
CMYKcmyk(32.4%, 65.2%, 0%, 17.6%)
CIE-LABlab(45.86, 54.42, -59.61)
CIE-LCHlch(45.86, 80.71, 312.39°)
OKLaboklab(55.71% 0.1123 -0.1692)
OKLCHoklch(55.71% 0.203 303.6)
XYZxyz(25.1681, 15.1691, 62.5623)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49D2 #8DD249
analogous
#4949D2 #8E49D2 #D249D1
triadic
#8E49D2 #D28E49 #49D28E
tetradic
#8E49D2 #D24949 #8DD249 #49D1D2
square
#8E49D2 #D24949 #8DD249 #49D1D2
split-complementary
#8E49D2 #D1D249 #49D249
monochromatic
#512081 #6F2CB2 #8E49D2 #AC7ADE #CBABEA

Accessibility & contrast

On white

5.21
#8E49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49D2#FFFFFF#000000##FFFFFF
##8E49D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#816787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e49d2;
/* rgb */ color: rgb(142, 73, 210);
/* oklch */ color: oklch(55.7% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#b480e1',
    500: '#8e49d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e49d2;
$custom-light: #b480e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49d2",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 270.219,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.20308,
    "h": 303.6
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#8E49D2
secondary
#BBD89F
accent
#E34493
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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