#8E49BA#8E49BA

#8E49BA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.177 H 309.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8E49BA
RGBrgb(142, 73, 186)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 61%, 73%)
CMYKcmyk(23.7%, 60.8%, 0%, 27.1%)
CIE-LABlab(44.32, 48.84, -48.19)
CIE-LCHlch(44.32, 68.61, 315.38°)
OKLaboklab(54.1% 0.1135 -0.1357)
OKLCHoklch(54.1% 0.177 309.9)
XYZxyz(22.3991, 14.0615, 47.9790)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49BA #75BA49
analogous
#5549BA #8E49BA #BA49AD
triadic
#8E49BA #BA8E49 #49BA8E
tetradic
#8E49BA #BA5549 #75BA49 #49ADBA
square
#8E49BA #BA5549 #75BA49 #49ADBA
split-complementary
#8E49BA #ADBA49 #49BA55
monochromatic
#4B2663 #6D368F #8E49BA #AA75CB #C5A2DC

Accessibility & contrast

On white

5.51
#8E49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8E49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49BA#FFFFFF#000000##FFFFFF
##8E49BA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#885F7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e49ba;
/* rgb */ color: rgb(142, 73, 186);
/* oklch */ color: oklch(54.1% 0.177 309.9);
Tailwind
colors: {
  custom: {
    50: '#b27fcf',
    500: '#8e49ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e49ba;
$custom-light: #b27fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49ba",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 276.637,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.17694,
    "h": 309.9
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#8E49BA
secondary
#AAC896
accent
#D55386
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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