#8D4EDB#8D4EDB

#8D4EDB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.206 H 300.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D4EDB
RGBrgb(141, 78, 219)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 64%, 86%)
CMYKcmyk(35.6%, 64.4%, 0%, 14.1%)
CIE-LABlab(47.27, 53.90, -62.49)
CIE-LCHlch(47.27, 82.52, 310.78°)
OKLaboklab(56.89% 0.1046 -0.1777)
OKLCHoklch(56.89% 0.206 300.5)
XYZxyz(26.4920, 16.2258, 68.7403)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EDB #9CDB4E
analogous
#4E55DB #8D4EDB #D44EDB
triadic
#8D4EDB #DB8D4E #4EDB8D
tetradic
#8D4EDB #DB4E55 #9CDB4E #4EDBD4
square
#8D4EDB #DB4E55 #9CDB4E #4EDBD4
split-complementary
#8D4EDB #DBD44E #55DB4E
monochromatic
#511E91 #6E28C4 #8D4EDB #AE81E5 #CFB4F0

Accessibility & contrast

On white

4.95
#8D4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EDB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EDB#FFFFFF#000000##FFFFFF
##8D4EDB1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#066FD8
Tritanopia (blue-blind)
#7C6E8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4edb;
/* rgb */ color: rgb(141, 78, 219);
/* oklch */ color: oklch(56.9% 0.206 300.5);
Tailwind
colors: {
  custom: {
    50: '#b483e7',
    500: '#8d4edb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4edb;
$custom-light: #b483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4edb",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 266.809,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.20623,
    "h": 300.5
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#8D4EDB
secondary
#C5DEA6
accent
#E93F9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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