#8E49DC#8E49DC

#8E49DC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.214 H 301.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8E49DC
RGBrgb(142, 73, 220)
HSLhsl(268, 68%, 57%)
HSVhsv(268, 67%, 86%)
CMYKcmyk(35.5%, 66.8%, 0%, 13.7%)
CIE-LABlab(46.56, 56.81, -64.21)
CIE-LCHlch(46.56, 85.73, 311.50°)
OKLaboklab(56.42% 0.1112 -0.1827)
OKLCHoklch(56.42% 0.214 301.3)
XYZxyz(26.4530, 15.6830, 69.3298)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49DC #97DC49
analogous
#494EDC #8E49DC #D749DC
triadic
#8E49DC #DC8E49 #49DC8E
tetradic
#8E49DC #DC494E #97DC49 #49DCD7
square
#8E49DC #DC494E #97DC49 #49DCD7
split-complementary
#8E49DC #DCD749 #4EDC49
monochromatic
#521C8F #6F25C2 #8E49DC #AE7CE6 #CEB0F0

Accessibility & contrast

On white

5.08
#8E49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8E49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49DC#FFFFFF#000000##FFFFFF
##8E49DC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7D6B8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e49dc;
/* rgb */ color: rgb(142, 73, 220);
/* oklch */ color: oklch(56.4% 0.214 301.3);
Tailwind
colors: {
  custom: {
    50: '#b580e8',
    500: '#8e49dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e49dc;
$custom-light: #b580e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49dc",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 268.163,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.2139,
    "h": 301.3
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#8E49DC
secondary
#C2DEA3
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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