#8E4DD5#8E4DD5

#8E4DD5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.201 H 302.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8E4DD5
RGBrgb(142, 77, 213)
HSLhsl(269, 62%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.3%, 63.8%, 0%, 16.5%)
CIE-LABlab(46.79, 53.15, -59.83)
CIE-LCHlch(46.79, 80.02, 311.62°)
OKLaboklab(56.44% 0.1076 -0.1699)
OKLCHoklch(56.44% 0.201 302.3)
XYZxyz(25.8166, 15.8626, 64.6396)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DD5 #94D54D
analogous
#4D50D5 #8E4DD5 #D24DD5
triadic
#8E4DD5 #D58E4D #4DD58E
tetradic
#8E4DD5 #D54D50 #94D54D #4DD5D2
square
#8E4DD5 #D54D50 #94D54D #4DD5D2
split-complementary
#8E4DD5 #D5D24D #50D54D
monochromatic
#522088 #6F2CB9 #8E4DD5 #AD7FE1 #CDB0EC

Accessibility & contrast

On white

5.03
#8E4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8E4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DD5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DD5#FFFFFF#000000##FFFFFF
##8E4DD51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#806B8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4dd5;
/* rgb */ color: rgb(142, 77, 213);
/* oklch */ color: oklch(56.4% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#b482e3',
    500: '#8e4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dd5;
$custom-light: #b482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dd5",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 268.676,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.20106,
    "h": 302.3
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#8E4DD5
secondary
#C0DBA3
accent
#E54397
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8E4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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