#8E4CD6#8E4CD6

#8E4CD6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.203 H 302.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E4CD6
RGBrgb(142, 76, 214)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.6%, 64.5%, 0%, 16.1%)
CIE-LABlab(46.68, 53.89, -60.58)
CIE-LCHlch(46.68, 81.08, 311.65°)
OKLaboklab(56.38% 0.1086 -0.1721)
OKLCHoklch(56.38% 0.204 302.2)
XYZxyz(25.8745, 15.7747, 65.2869)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CD6 #94D64C
analogous
#4C4FD6 #8E4CD6 #D34CD6
triadic
#8E4CD6 #D68E4C #4CD68E
tetradic
#8E4CD6 #D64C4F #94D64C #4CD6D3
square
#8E4CD6 #D64C4F #94D64C #4CD6D3
split-complementary
#8E4CD6 #D6D34C #4FD64C
monochromatic
#521F88 #6F2BBA #8E4CD6 #AD7EE1 #CDB0ED

Accessibility & contrast

On white

5.05
#8E4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8E4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CD6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CD6#FFFFFF#000000##FFFFFF
##8E4CD61.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#166ED3
Tritanopia (blue-blind)
#7F6A8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4cd6;
/* rgb */ color: rgb(142, 76, 214);
/* oklch */ color: oklch(56.4% 0.203 302.2);
Tailwind
colors: {
  custom: {
    50: '#b482e3',
    500: '#8e4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cd6;
$custom-light: #b482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cd6",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 268.696,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.2035,
    "h": 302.2
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#8E4CD6
secondary
#C0DBA3
accent
#E64297
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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