#8D4DE6#8D4DE6

#8D4DE6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.220 H 298.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D4DE6
RGBrgb(141, 77, 230)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(38.7%, 66.5%, 0%, 9.8%)
CIE-LABlab(47.86, 57.11, -67.77)
CIE-LCHlch(47.86, 88.63, 310.12°)
OKLaboklab(57.55% 0.1044 -0.1933)
OKLCHoklch(57.55% 0.22 298.4)
XYZxyz(27.9177, 16.6833, 76.5969)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DE6 #A6E64D
analogous
#4D5AE6 #8D4DE6 #D94DE6
triadic
#8D4DE6 #E68D4D #4DE68D
tetradic
#8D4DE6 #E64D5A #A6E64D #4DE6D9
square
#8D4DE6 #E64D5A #A6E64D #4DE6D9
split-complementary
#8D4DE6 #E6D94D #5AE64D
monochromatic
#5117A2 #6C1ED8 #8D4DE6 #AF83EE #D2B8F5

Accessibility & contrast

On white

4.84
#8D4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8D4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DE6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DE6#FFFFFF#000000##FFFFFF
##8D4DE61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#787193
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d4de6;
/* rgb */ color: rgb(141, 77, 230);
/* oklch */ color: oklch(57.6% 0.220 298.4);
Tailwind
colors: {
  custom: {
    50: '#b583ef',
    500: '#8d4de6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4de6;
$custom-light: #b583ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4de6",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 265.098,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.21969,
    "h": 298.4
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#8D4DE6
secondary
#CCE5AA
accent
#D80E83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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