#8E4DDC#8E4DDC

#8E4DDC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.209 H 300.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E4DDC
RGBrgb(142, 77, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.5%, 65%, 0%, 13.7%)
CIE-LABlab(47.27, 54.85, -63.05)
CIE-LCHlch(47.27, 83.57, 311.02°)
OKLaboklab(56.93% 0.1069 -0.1794)
OKLCHoklch(56.93% 0.209 300.8)
XYZxyz(26.7243, 16.2257, 69.4202)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DDC #9BDC4D
analogous
#4D53DC #8E4DDC #D64DDC
triadic
#8E4DDC #DC8E4D #4DDC8E
tetradic
#8E4DDC #DC4D53 #9BDC4D #4DDCD6
square
#8E4DDC #DC4D53 #9BDC4D #4DDCD6
split-complementary
#8E4DDC #DCD64D #53DC4D
monochromatic
#521D92 #6F27C5 #8E4DDC #AE80E6 #CFB3F0

Accessibility & contrast

On white

4.95
#8E4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8E4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DDC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DDC#FFFFFF#000000##FFFFFF
##8E4DDC1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#7D6D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4ddc;
/* rgb */ color: rgb(142, 77, 220);
/* oklch */ color: oklch(56.9% 0.209 300.8);
Tailwind
colors: {
  custom: {
    50: '#b483e8',
    500: '#8e4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ddc;
$custom-light: #b483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ddc",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 267.273,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.20881,
    "h": 300.8
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#8E4DDC
secondary
#C5DFA6
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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