#8E4CD4#8E4CD4

#8E4CD4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.201 H 302.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8E4CD4
RGBrgb(142, 76, 212)
HSLhsl(269, 61%, 56%)
HSVhsv(269, 64%, 83%)
CMYKcmyk(33%, 64.2%, 0%, 16.9%)
CIE-LABlab(46.54, 53.41, -59.66)
CIE-LCHlch(46.54, 80.07, 311.84°)
OKLaboklab(56.24% 0.1088 -0.1694)
OKLCHoklch(56.24% 0.201 302.7)
XYZxyz(25.6207, 15.6731, 63.9500)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CD4 #92D44C
analogous
#4C4ED4 #8E4CD4 #D24CD4
triadic
#8E4CD4 #D48E4C #4CD48E
tetradic
#8E4CD4 #D44C4E #92D44C #4CD4D2
square
#8E4CD4 #D44C4E #92D44C #4CD4D2
split-complementary
#8E4CD4 #D4D24C #4ED44C
monochromatic
#512086 #6F2CB7 #8E4CD4 #AD7DE0 #CCAFEC

Accessibility & contrast

On white

5.08
#8E4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8E4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CD4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CD4#FFFFFF#000000##FFFFFF
##8E4CD41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#806A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4cd4;
/* rgb */ color: rgb(142, 76, 212);
/* oklch */ color: oklch(56.2% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#b482e2',
    500: '#8e4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cd4;
$custom-light: #b482e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cd4",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 269.118,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.20129,
    "h": 302.7
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#8E4CD4
secondary
#BFDAA2
accent
#E44396
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8E4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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