#8E4CDD#8E4CDD

#8E4CDD is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.211 H 300.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8E4CDD
RGBrgb(142, 76, 221)
HSLhsl(267, 68%, 58%)
HSVhsv(267, 66%, 87%)
CMYKcmyk(35.7%, 65.6%, 0%, 13.3%)
CIE-LABlab(47.16, 55.59, -63.80)
CIE-LCHlch(47.16, 84.62, 311.07°)
OKLaboklab(56.87% 0.1079 -0.1816)
OKLCHoklch(56.87% 0.211 300.7)
XYZxyz(26.7877, 16.1399, 70.0966)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CDD #9BDD4C
analogous
#4C52DD #8E4CDD #D64CDD
triadic
#8E4CDD #DD8E4C #4CDD8E
tetradic
#8E4CDD #DD4C52 #9BDD4C #4CDDD6
square
#8E4CDD #DD4C52 #9BDD4C #4CDDD6
split-complementary
#8E4CDD #DDD64C #52DD4C
monochromatic
#521C93 #6F26C6 #8E4CDD #AE7FE7 #CFB3F1

Accessibility & contrast

On white

4.97
#8E4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8E4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CDD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CDD#FFFFFF#000000##FFFFFF
##8E4CDD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e4cdd;
/* rgb */ color: rgb(142, 76, 221);
/* oklch */ color: oklch(56.9% 0.211 300.7);
Tailwind
colors: {
  custom: {
    50: '#b482e8',
    500: '#8e4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cdd;
$custom-light: #b482e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cdd",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 267.31,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.2112,
    "h": 300.7
  },
  "luminance": 0.1614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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