#8E4DD9#8E4DD9

#8E4DD9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.205 H 301.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8E4DD9
RGBrgb(142, 77, 217)
HSLhsl(268, 65%, 58%)
HSVhsv(268, 65%, 85%)
CMYKcmyk(34.6%, 64.5%, 0%, 14.9%)
CIE-LABlab(47.06, 54.12, -61.67)
CIE-LCHlch(47.06, 82.05, 311.27°)
OKLaboklab(56.72% 0.1072 -0.1753)
OKLCHoklch(56.72% 0.205 301.4)
XYZxyz(26.3306, 16.0682, 67.3465)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DD9 #98D94D
analogous
#4D52D9 #8E4DD9 #D44DD9
triadic
#8E4DD9 #D98E4D #4DD98E
tetradic
#8E4DD9 #D94D52 #98D94D #4DD9D4
square
#8E4DD9 #D94D52 #98D94D #4DD9D4
split-complementary
#8E4DD9 #D9D44D #52D94D
monochromatic
#521E8D #6F29C0 #8E4DD9 #AE7FE4 #CEB2EF

Accessibility & contrast

On white

4.98
#8E4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8E4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DD9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DD9#FFFFFF#000000##FFFFFF
##8E4DD91.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#106FD6
Tritanopia (blue-blind)
#7E6C8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4dd9;
/* rgb */ color: rgb(142, 77, 217);
/* oklch */ color: oklch(56.7% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#b483e6',
    500: '#8e4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dd9;
$custom-light: #b483e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dd9",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 267.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.20549,
    "h": 301.4
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#8E4DD9
secondary
#C3DDA5
accent
#E8409A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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