#8E4FDA#8E4FDA

#8E4FDA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.204 H 301.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E4FDA
RGBrgb(142, 79, 218)
HSLhsl(267, 65%, 58%)
HSVhsv(267, 64%, 85%)
CMYKcmyk(34.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(47.50, 53.36, -61.54)
CIE-LCHlch(47.50, 81.45, 310.93°)
OKLaboklab(57.06% 0.1049 -0.1749)
OKLCHoklch(57.06% 0.204 301)
XYZxyz(26.6032, 16.4045, 68.0809)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FDA #9BDA4F
analogous
#4F55DA #8E4FDA #D34FDA
triadic
#8E4FDA #DA8E4F #4FDA8E
tetradic
#8E4FDA #DA4F55 #9BDA4F #4FDAD3
square
#8E4FDA #DA4F55 #9BDA4F #4FDAD3
split-complementary
#8E4FDA #DAD34F #55DA4F
monochromatic
#521E90 #6F29C3 #8E4FDA #AE82E5 #CFB4EF

Accessibility & contrast

On white

4.91
#8E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8E4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FDA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FDA#FFFFFF#000000##FFFFFF
##8E4FDA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#1470D7
Tritanopia (blue-blind)
#7E6E8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4fda;
/* rgb */ color: rgb(142, 79, 218);
/* oklch */ color: oklch(57.1% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#b484e6',
    500: '#8e4fda',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fda;
$custom-light: #b484e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fda",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 267.194,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.20396,
    "h": 301
  },
  "luminance": 0.16405
}

Semantic roles & 50–950 ramp

primary
#8E4FDA
secondary
#C5DEA7
accent
#E8409C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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