#8E4BD5#8E4BD5

#8E4BD5 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.204 H 302.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD5
RGBrgb(142, 75, 213)
HSLhsl(269, 62%, 56%)
HSVhsv(269, 65%, 84%)
CMYKcmyk(33.3%, 64.8%, 0%, 16.5%)
CIE-LABlab(46.43, 54.15, -60.42)
CIE-LCHlch(46.43, 81.13, 311.87°)
OKLaboklab(56.18% 0.1098 -0.1716)
OKLCHoklch(56.18% 0.204 302.6)
XYZxyz(25.6788, 15.5870, 64.5936)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD5 #92D54B
analogous
#4B4DD5 #8E4BD5 #D34BD5
triadic
#8E4BD5 #D58E4B #4BD58E
tetradic
#8E4BD5 #D54B4D #92D54B #4BD5D3
square
#8E4BD5 #D54B4D #92D54B #4BD5D3
split-complementary
#8E4BD5 #D5D34B #4DD54B
monochromatic
#511F86 #6F2BB8 #8E4BD5 #AD7DE1 #CCAEEC

Accessibility & contrast

On white

5.10
#8E4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8E4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD5#FFFFFF#000000##FFFFFF
##8E4BD51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#166ED2
Tritanopia (blue-blind)
#806989
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4bd5;
/* rgb */ color: rgb(142, 75, 213);
/* oklch */ color: oklch(56.2% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#b481e3',
    500: '#8e4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd5;
$custom-light: #b481e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd5",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 269.13,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.20372,
    "h": 302.6
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#8E4BD5
secondary
#BFDAA2
accent
#E54396
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8E4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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