#8D4AE7#8D4AE7

#8D4AE7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.224 H 298.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D4AE7
RGBrgb(141, 74, 231)
HSLhsl(266, 77%, 60%)
HSVhsv(266, 68%, 91%)
CMYKcmyk(39%, 68%, 0%, 9.4%)
CIE-LABlab(47.40, 58.82, -69.08)
CIE-LCHlch(47.40, 90.73, 310.41°)
OKLaboklab(57.25% 0.1073 -0.1971)
OKLCHoklch(57.25% 0.224 298.6)
XYZxyz(27.8534, 16.3294, 77.2702)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4AE7 #A4E74A
analogous
#4A56E7 #8D4AE7 #DB4AE7
triadic
#8D4AE7 #E78D4A #4AE78D
tetradic
#8D4AE7 #E74A56 #A4E74A #4AE7DB
square
#8D4AE7 #E74A56 #A4E74A #4AE7DB
split-complementary
#8D4AE7 #E7DB4A #56E74A
monochromatic
#5115A1 #6C1DD7 #8D4AE7 #AF80EE #D1B6F5

Accessibility & contrast

On white

4.92
#8D4AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D4AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4AE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4AE7#FFFFFF#000000##FFFFFF
##8D4AE71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#787093
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4ae7;
/* rgb */ color: rgb(141, 74, 231);
/* oklch */ color: oklch(57.3% 0.224 298.6);
Tailwind
colors: {
  custom: {
    50: '#b581f0',
    500: '#8d4ae7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ae7;
$custom-light: #b581f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ae7",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 265.605,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.22442,
    "h": 298.6
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#8D4AE7
secondary
#CBE5A8
accent
#F335A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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