#8E49CD#8E49CD

#8E49CD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.198 H 304.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8E49CD
RGBrgb(142, 73, 205)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(30.7%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.53, 53.23, -57.27)
CIE-LCHlch(45.53, 78.19, 312.91°)
OKLaboklab(55.36% 0.1127 -0.1624)
OKLCHoklch(55.36% 0.198 304.8)
XYZxyz(24.5549, 14.9238, 59.3328)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49CD #88CD49
analogous
#4C49CD #8E49CD #CD49CA
triadic
#8E49CD #CD8E49 #49CD8E
tetradic
#8E49CD #CD4C49 #88CD49 #49CACD
square
#8E49CD #CD4C49 #88CD49 #49CACD
split-complementary
#8E49CD #CACD49 #49CD4C
monochromatic
#50227A #6F2FAA #8E49CD #AC79DA #CAA9E7

Accessibility & contrast

On white

5.27
#8E49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8E49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49CD#FFFFFF#000000##FFFFFF
##8E49CD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#836585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e49cd;
/* rgb */ color: rgb(142, 73, 205);
/* oklch */ color: oklch(55.4% 0.198 304.8);
Tailwind
colors: {
  custom: {
    50: '#b380dd',
    500: '#8e49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e49cd;
$custom-light: #b380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49cd",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 271.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.19764,
    "h": 304.8
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#8E49CD
secondary
#B8D59D
accent
#E04890
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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