#8E4DDD#8E4DDD

#8E4DDD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.210 H 300.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8E4DDD
RGBrgb(142, 77, 221)
HSLhsl(267, 68%, 58%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(35.7%, 65.2%, 0%, 13.3%)
CIE-LABlab(47.34, 55.09, -63.51)
CIE-LCHlch(47.34, 84.08, 310.94°)
OKLaboklab(57% 0.1068 -0.1807)
OKLCHoklch(57% 0.21 300.6)
XYZxyz(26.8572, 16.2788, 70.1198)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DDD #9CDD4D
analogous
#4D54DD #8E4DDD #D64DDD
triadic
#8E4DDD #DD8E4D #4DDD8E
tetradic
#8E4DDD #DD4D54 #9CDD4D #4DDDD6
square
#8E4DDD #DD4D54 #9CDD4D #4DDDD6
split-complementary
#8E4DDD #DDD64D #54DD4D
monochromatic
#521C93 #6F26C7 #8E4DDD #AF80E7 #CFB4F1

Accessibility & contrast

On white

4.93
#8E4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8E4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DDD#FFFFFF#000000##FFFFFF
##8E4DDD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#7D6E8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4ddd;
/* rgb */ color: rgb(142, 77, 221);
/* oklch */ color: oklch(57.0% 0.210 300.6);
Tailwind
colors: {
  custom: {
    50: '#b483e8',
    500: '#8e4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ddd;
$custom-light: #b483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ddd",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 267.083,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.20991,
    "h": 300.6
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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