#8E49CC#8E49CC

#8E49CC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.197 H 305.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E49CC
RGBrgb(142, 73, 204)
HSLhsl(272, 56%, 54%)
HSVhsv(272, 64%, 80%)
CMYKcmyk(30.4%, 64.2%, 0%, 20%)
CIE-LABlab(45.46, 53.00, -56.80)
CIE-LCHlch(45.46, 77.69, 313.01°)
OKLaboklab(55.29% 0.1128 -0.161)
OKLCHoklch(55.29% 0.197 305)
XYZxyz(24.4345, 14.8756, 58.6991)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49CC #87CC49
analogous
#4D49CC #8E49CC #CC49C9
triadic
#8E49CC #CC8E49 #49CC8E
tetradic
#8E49CC #CC4D49 #87CC49 #49C9CC
square
#8E49CC #CC4D49 #87CC49 #49C9CC
split-complementary
#8E49CC #C9CC49 #49CC4D
monochromatic
#502279 #6F2FA9 #8E49CC #AC79D9 #C9A9E7

Accessibility & contrast

On white

5.28
#8E49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E49CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49CC#FFFFFF#000000##FFFFFF
##8E49CC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#836584
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e49cc;
/* rgb */ color: rgb(142, 73, 204);
/* oklch */ color: oklch(55.3% 0.197 305.0);
Tailwind
colors: {
  custom: {
    50: '#b380dc',
    500: '#8e49cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e49cc;
$custom-light: #b380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49cc",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 271.603,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.19655,
    "h": 305
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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