#8E4EBD#8E4EBD

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

Color values

HEX#8E4EBD
RGBrgb(142, 78, 189)
HSLhsl(275, 46%, 52%)
HSVhsv(275, 59%, 74%)
CMYKcmyk(24.9%, 58.7%, 0%, 25.9%)
CIE-LABlab(45.46, 46.94, -48.12)
CIE-LCHlch(45.46, 67.22, 314.29°)
OKLaboklab(54.98% 0.1072 -0.1355)
OKLCHoklch(54.98% 0.173 308.4)
XYZxyz(23.0632, 14.8740, 49.7902)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EBD #7DBD4E
analogous
#574EBD #8E4EBD #BD4EB4
triadic
#8E4EBD #BD8E4E #4EBD8E
tetradic
#8E4EBD #BD574E #7DBD4E #4EB4BD
square
#8E4EBD #BD574E #7DBD4E #4EB4BD
split-complementary
#8E4EBD #B4BD4E #4EBD57
monochromatic
#4D2769 #6E3896 #8E4EBD #AA7BCE #C7A7DE

Accessibility & contrast

On white

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

On black

3.97
#8E4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E4EBD#FFFFFF#000000##FFFFFF
##8E4EBD1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#87637E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4ebd;
/* rgb */ color: rgb(142, 78, 189);
/* oklch */ color: oklch(55.0% 0.173 308.4);
Tailwind
colors: {
  custom: {
    50: '#b282d1',
    500: '#8e4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ebd;
$custom-light: #b282d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ebd",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 274.595,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.1728,
    "h": 308.4
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#8E4EBD
secondary
#B0CC9B
accent
#D5528A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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