#8D4FE7#8D4FE7

#8D4FE7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.218 H 297.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D4FE7
RGBrgb(141, 79, 231)
HSLhsl(264, 76%, 61%)
HSVhsv(264, 66%, 91%)
CMYKcmyk(39%, 65.8%, 0%, 9.4%)
CIE-LABlab(48.29, 56.37, -67.64)
CIE-LCHlch(48.29, 88.05, 309.81°)
OKLaboklab(57.89% 0.1022 -0.1929)
OKLCHoklch(57.89% 0.218 297.9)
XYZxyz(28.2006, 17.0238, 77.3860)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FE7 #A9E74F
analogous
#4F5DE7 #8D4FE7 #D94FE7
triadic
#8D4FE7 #E78D4F #4FE78D
tetradic
#8D4FE7 #E74F5D #A9E74F #4FE7D9
square
#8D4FE7 #E74F5D #A9E74F #4FE7D9
split-complementary
#8D4FE7 #E7D94F #5DE74F
monochromatic
#5117A5 #6B1EDB #8D4FE7 #B085EE #D3BBF6

Accessibility & contrast

On white

4.77
#8D4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8D4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FE7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FE7#FFFFFF#000000##FFFFFF
##8D4FE71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#777294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d4fe7;
/* rgb */ color: rgb(141, 79, 231);
/* oklch */ color: oklch(57.9% 0.218 297.9);
Tailwind
colors: {
  custom: {
    50: '#b584f0',
    500: '#8d4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fe7;
$custom-light: #b584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fe7",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 264.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.21831,
    "h": 297.9
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#8D4FE7
secondary
#CEE6AC
accent
#D80D85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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