#8E4DD6#8E4DD6

#8E4DD6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.202 H 302.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E4DD6
RGBrgb(142, 77, 214)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(33.6%, 64%, 0%, 16.1%)
CIE-LABlab(46.86, 53.39, -60.29)
CIE-LCHlch(46.86, 80.53, 311.53°)
OKLaboklab(56.51% 0.1075 -0.1712)
OKLCHoklch(56.51% 0.202 302.1)
XYZxyz(25.9440, 15.9135, 65.3101)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DD6 #95D64D
analogous
#4D51D6 #8E4DD6 #D24DD6
triadic
#8E4DD6 #D68E4D #4DD68E
tetradic
#8E4DD6 #D64D51 #95D64D #4DD6D2
square
#8E4DD6 #D64D51 #95D64D #4DD6D2
split-complementary
#8E4DD6 #D6D24D #51D64D
monochromatic
#522089 #6F2BBB #8E4DD6 #AE7FE1 #CDB0ED

Accessibility & contrast

On white

5.02
#8E4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8E4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DD6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DD6#FFFFFF#000000##FFFFFF
##8E4DD61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#196FD3
Tritanopia (blue-blind)
#7F6B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4dd6;
/* rgb */ color: rgb(142, 77, 214);
/* oklch */ color: oklch(56.5% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#b482e3',
    500: '#8e4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dd6;
$custom-light: #b482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dd6",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 268.467,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.20217,
    "h": 302.1
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#8E4DD6
secondary
#C1DBA4
accent
#E64298
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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