#8D4EE5#8D4EE5

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

Color values

HEX#8D4EE5
RGBrgb(141, 78, 229)
HSLhsl(265, 74%, 60%)
HSVhsv(265, 66%, 90%)
CMYKcmyk(38.4%, 65.9%, 0%, 10.2%)
CIE-LABlab(47.97, 56.37, -67.03)
CIE-LCHlch(47.97, 87.58, 310.06°)
OKLaboklab(57.61% 0.1035 -0.1911)
OKLCHoklch(57.61% 0.217 298.4)
XYZxyz(27.8482, 16.7683, 75.8830)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EE5 #A6E54E
analogous
#4E5BE5 #8D4EE5 #D84EE5
triadic
#8D4EE5 #E58D4E #4EE58D
tetradic
#8D4EE5 #E54E5B #A6E54E #4EE5D8
square
#8D4EE5 #E54E5B #A6E54E #4EE5D8
split-complementary
#8D4EE5 #E5D84E #5BE54E
monochromatic
#5118A1 #6C1FD6 #8D4EE5 #AF83ED #D2B9F5

Accessibility & contrast

On white

4.82
#8D4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EE5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EE5#FFFFFF#000000##FFFFFF
##8D4EE51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d4ee5;
/* rgb */ color: rgb(141, 78, 229);
/* oklch */ color: oklch(57.6% 0.217 298.4);
Tailwind
colors: {
  custom: {
    50: '#b483ee',
    500: '#8d4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ee5;
$custom-light: #b483ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ee5",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 265.033,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.21734,
    "h": 298.4
  },
  "luminance": 0.16769
}

Semantic roles & 50–950 ramp

primary
#8D4EE5
secondary
#CCE4AA
accent
#D70F83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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