#8E4DD7#8E4DD7

#8E4DD7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.203 H 301.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E4DD7
RGBrgb(142, 77, 215)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(34%, 64.2%, 0%, 15.7%)
CIE-LABlab(46.93, 53.63, -60.75)
CIE-LCHlch(46.93, 81.04, 311.44°)
OKLaboklab(56.58% 0.1074 -0.1726)
OKLCHoklch(56.58% 0.203 301.9)
XYZxyz(26.0720, 15.9648, 65.9847)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DD7 #96D74D
analogous
#4D51D7 #8E4DD7 #D34DD7
triadic
#8E4DD7 #D78E4D #4DD78E
tetradic
#8E4DD7 #D74D51 #96D74D #4DD7D3
square
#8E4DD7 #D74D51 #96D74D #4DD7D3
split-complementary
#8E4DD7 #D7D34D #51D74D
monochromatic
#521F8A #6F2ABC #8E4DD7 #AE7FE2 #CDB1ED

Accessibility & contrast

On white

5.01
#8E4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8E4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DD7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DD7#FFFFFF#000000##FFFFFF
##8E4DD71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#176FD4
Tritanopia (blue-blind)
#7F6B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4dd7;
/* rgb */ color: rgb(142, 77, 215);
/* oklch */ color: oklch(56.6% 0.203 301.9);
Tailwind
colors: {
  custom: {
    50: '#b483e4',
    500: '#8e4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dd7;
$custom-light: #b483e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dd7",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 268.261,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.20328,
    "h": 301.9
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#8E4DD7
secondary
#C2DCA4
accent
#E64199
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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