#8E49BF#8E49BF

#8E49BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.182 H 308.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8E49BF
RGBrgb(142, 73, 191)
HSLhsl(275, 48%, 52%)
HSVhsv(275, 62%, 75%)
CMYKcmyk(25.7%, 61.8%, 0%, 25.1%)
CIE-LABlab(44.63, 49.98, -50.61)
CIE-LCHlch(44.63, 71.13, 314.64°)
OKLaboklab(54.42% 0.1134 -0.1428)
OKLCHoklch(54.42% 0.182 308.5)
XYZxyz(22.9400, 14.2778, 50.8275)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49BF #7ABF49
analogous
#5349BF #8E49BF #BF49B5
triadic
#8E49BF #BF8E49 #49BF8E
tetradic
#8E49BF #BF5349 #7ABF49 #49B5BF
square
#8E49BF #BF5349 #7ABF49 #49B5BF
split-complementary
#8E49BF #B5BF49 #49BF53
monochromatic
#4D2569 #6E3596 #8E49BF #AA76CF #C6A4DF

Accessibility & contrast

On white

5.45
#8E49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8E49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49BF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49BF#FFFFFF#000000##FFFFFF
##8E49BF1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#87607D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e49bf;
/* rgb */ color: rgb(142, 73, 191);
/* oklch */ color: oklch(54.4% 0.182 308.5);
Tailwind
colors: {
  custom: {
    50: '#b37fd3',
    500: '#8e49bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e49bf;
$custom-light: #b37fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49bf",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 275.085,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.18238,
    "h": 308.5
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#8E49BF
secondary
#AECC98
accent
#D85088
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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