#8D4EE7#8D4EE7

#8D4EE7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.220 H 298.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D4EE7
RGBrgb(141, 78, 231)
HSLhsl(265, 76%, 61%)
HSVhsv(265, 66%, 91%)
CMYKcmyk(39%, 66.2%, 0%, 9.4%)
CIE-LABlab(48.11, 56.87, -67.93)
CIE-LCHlch(48.11, 88.59, 309.93°)
OKLaboklab(57.76% 0.1033 -0.1937)
OKLCHoklch(57.76% 0.22 298.1)
XYZxyz(28.1290, 16.8806, 77.3621)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EE7 #A8E74E
analogous
#4E5BE7 #8D4EE7 #D94EE7
triadic
#8D4EE7 #E78D4E #4EE78D
tetradic
#8D4EE7 #E74E5B #A8E74E #4EE7D9
square
#8D4EE7 #E74E5B #A8E74E #4EE7D9
split-complementary
#8D4EE7 #E7D94E #5BE74E
monochromatic
#5116A4 #6B1EDA #8D4EE7 #B084EE #D2BAF6

Accessibility & contrast

On white

4.80
#8D4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EE7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EE7#FFFFFF#000000##FFFFFF
##8D4EE71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d4ee7;
/* rgb */ color: rgb(141, 78, 231);
/* oklch */ color: oklch(57.8% 0.220 298.1);
Tailwind
colors: {
  custom: {
    50: '#b583f0',
    500: '#8d4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ee7;
$custom-light: #b583f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ee7",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 264.706,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.21955,
    "h": 298.1
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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