#8E49D0#8E49D0

#8E49D0 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.201 H 304.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8E49D0
RGBrgb(142, 73, 208)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 65%, 82%)
CMYKcmyk(31.7%, 64.9%, 0%, 18.4%)
CIE-LABlab(45.73, 53.94, -58.68)
CIE-LCHlch(45.73, 79.70, 312.59°)
OKLaboklab(55.57% 0.1125 -0.1665)
OKLCHoklch(55.57% 0.201 304)
XYZxyz(24.9205, 15.0700, 61.2582)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49D0 #8BD049
analogous
#4B49D0 #8E49D0 #D049CE
triadic
#8E49D0 #D08E49 #49D08E
tetradic
#8E49D0 #D04B49 #8BD049 #49CED0
square
#8E49D0 #D04B49 #8BD049 #49CED0
split-complementary
#8E49D0 #CED049 #49D04B
monochromatic
#50217E #6F2DAF #8E49D0 #AC7ADD #CAAAE9

Accessibility & contrast

On white

5.23
#8E49D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8E49D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49D0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49D0#FFFFFF#000000##FFFFFF
##8E49D01.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#1E6CCD
Tritanopia (blue-blind)
#826686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e49d0;
/* rgb */ color: rgb(142, 73, 208);
/* oklch */ color: oklch(55.6% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#b480df',
    500: '#8e49d0',
    950: '#000000',
  },
}
SCSS
$custom: #8e49d0;
$custom-light: #b480df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49d0",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 270.667,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.2009,
    "h": 304
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#8E49D0
secondary
#BAD79E
accent
#E24692
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E49D0

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

Preview Lab → · Contrast checker → · Palette generator →

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