#8E4EE9#8E4EE9

#8E4EE9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.222 H 298.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8E4EE9
RGBrgb(142, 78, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 67%, 91%)
CMYKcmyk(39.1%, 66.5%, 0%, 8.6%)
CIE-LABlab(48.36, 57.56, -68.64)
CIE-LCHlch(48.36, 89.58, 309.98°)
OKLaboklab(58.01% 0.1044 -0.1958)
OKLCHoklch(58.01% 0.222 298.1)
XYZxyz(28.5839, 17.0823, 78.8663)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EE9 #A9E94E
analogous
#4E5BE9 #8E4EE9 #DB4EE9
triadic
#8E4EE9 #E98E4E #4EE98E
tetradic
#8E4EE9 #E94E5B #A9E94E #4EE9DB
square
#8E4EE9 #E94E5B #A9E94E #4EE9DB
split-complementary
#8E4EE9 #E9DB4E #5BE94E
monochromatic
#5215A8 #6C1CDE #8E4EE9 #B184F0 #D4BBF7

Accessibility & contrast

On white

4.75
#8E4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8E4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EE9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EE9#FFFFFF#000000##FFFFFF
##8E4EE91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#787395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e4ee9;
/* rgb */ color: rgb(142, 78, 233);
/* oklch */ color: oklch(58.0% 0.222 298.1);
Tailwind
colors: {
  custom: {
    50: '#b584f1',
    500: '#8e4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ee9;
$custom-light: #b584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ee9",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 264.774,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.22188,
    "h": 298.1
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#8E4EE9
secondary
#CEE7AC
accent
#DA0B85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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