#8E3EDD#8E3EDD

#8E3EDD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.228 H 302.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E3EDD
RGBrgb(142, 62, 221)
HSLhsl(270, 70%, 55%)
HSVhsv(270, 72%, 87%)
CMYKcmyk(35.7%, 71.9%, 0%, 13.3%)
CIE-LABlab(44.82, 62.09, -67.59)
CIE-LCHlch(44.82, 91.78, 312.57°)
OKLaboklab(55.21% 0.1219 -0.1926)
OKLCHoklch(55.21% 0.228 302.3)
XYZxyz(25.9260, 14.4164, 69.8094)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3EDD #8DDD3E
analogous
#3F3EDD #8E3EDD #DD3EDC
triadic
#8E3EDD #DD8E3E #3EDD8E
tetradic
#8E3EDD #DD3F3E #8DDD3E #3EDCDD
square
#8E3EDD #DD3F3E #8DDD3E #3EDCDD
split-complementary
#8E3EDD #DCDD3E #3EDD3F
monochromatic
#511889 #6F21BD #8E3EDD #AC72E6 #CBA6EF

Accessibility & contrast

On white

5.41
#8E3EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8E3EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3EDD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3EDD#FFFFFF#000000##FFFFFF
##8E3EDD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#7D658A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e3edd;
/* rgb */ color: rgb(142, 62, 221);
/* oklch */ color: oklch(55.2% 0.228 302.3);
Tailwind
colors: {
  custom: {
    50: '#b57ae9',
    500: '#8e3edd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3edd;
$custom-light: #b57ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3edd",
  "rgb": {
    "r": 142,
    "g": 62,
    "b": 221
  },
  "hsl": {
    "h": 270.189,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.22798,
    "h": 302.3
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#8E3EDD
secondary
#BBDD9A
accent
#ED3B93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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