#8E4BD1#8E4BD1

#8E4BD1 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.199 H 303.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD1
RGBrgb(142, 75, 209)
HSLhsl(270, 59%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(32.1%, 64.1%, 0%, 18%)
CIE-LABlab(46.16, 53.19, -58.56)
CIE-LCHlch(46.16, 79.11, 312.25°)
OKLaboklab(55.9% 0.1101 -0.1661)
OKLCHoklch(55.9% 0.199 303.5)
XYZxyz(25.1774, 15.3864, 61.9527)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD1 #8ED14B
analogous
#4B4BD1 #8E4BD1 #D14BD1
triadic
#8E4BD1 #D18E4B #4BD18E
tetradic
#8E4BD1 #D14B4B #8ED14B #4BD1D1
square
#8E4BD1 #D14B4B #8ED14B #4BD1D1
split-complementary
#8E4BD1 #D1D14B #4BD14B
monochromatic
#512181 #6F2DB1 #8E4BD1 #AD7CDD #CBACEA

Accessibility & contrast

On white

5.15
#8E4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8E4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD1#FFFFFF#000000##FFFFFF
##8E4BD11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#206DCE
Tritanopia (blue-blind)
#816887
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4bd1;
/* rgb */ color: rgb(142, 75, 209);
/* oklch */ color: oklch(55.9% 0.199 303.5);
Tailwind
colors: {
  custom: {
    50: '#b481e0',
    500: '#8e4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd1;
$custom-light: #b481e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd1",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 270,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.19932,
    "h": 303.5
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#8E4BD1
secondary
#BCD8A0
accent
#E24594
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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