#8D4EB2#8D4EB2

#8D4EB2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 311.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8D4EB2
RGBrgb(141, 78, 178)
HSLhsl(278, 39%, 50%)
HSVhsv(278, 56%, 70%)
CMYKcmyk(20.8%, 56.2%, 0%, 30.2%)
CIE-LABlab(44.70, 44.17, -42.91)
CIE-LCHlch(44.70, 61.58, 315.83°)
OKLaboklab(54.19% 0.1056 -0.1203)
OKLCHoklch(54.19% 0.16 311.3)
XYZxyz(21.7433, 14.3263, 43.7307)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EB2 #73B24E
analogous
#5B4EB2 #8D4EB2 #B24EA5
triadic
#8D4EB2 #B28D4E #4EB28D
tetradic
#8D4EB2 #B25B4E #73B24E #4EA5B2
square
#8D4EB2 #B25B4E #73B24E #4EA5B2
split-complementary
#8D4EB2 #A5B24E #4EB25B
monochromatic
#4A295D #6B3B88 #8D4EB2 #A879C5 #C4A3D7

Accessibility & contrast

On white

5.43
#8D4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8D4EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EB2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EB2#FFFFFF#000000##FFFFFF
##8D4EB21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#896078
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4eb2;
/* rgb */ color: rgb(141, 78, 178);
/* oklch */ color: oklch(54.2% 0.160 311.3);
Tailwind
colors: {
  custom: {
    50: '#b182c9',
    500: '#8d4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eb2;
$custom-light: #b182c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eb2",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 277.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.16008,
    "h": 311.3
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#8D4EB2
secondary
#A8C498
accent
#CF5984
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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