#8E4BD7#8E4BD7

#8E4BD7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.206 H 302.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD7
RGBrgb(142, 75, 215)
HSLhsl(269, 64%, 57%)
HSVhsv(269, 65%, 84%)
CMYKcmyk(34%, 65.1%, 0%, 15.7%)
CIE-LABlab(46.56, 54.63, -61.34)
CIE-LCHlch(46.56, 82.14, 311.69°)
OKLaboklab(56.32% 0.1096 -0.1743)
OKLCHoklch(56.32% 0.206 302.2)
XYZxyz(25.9343, 15.6892, 65.9388)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD7 #94D74B
analogous
#4B4ED7 #8E4BD7 #D44BD7
triadic
#8E4BD7 #D78E4B #4BD78E
tetradic
#8E4BD7 #D74B4E #94D74B #4BD7D4
square
#8E4BD7 #D74B4E #94D74B #4BD7D4
split-complementary
#8E4BD7 #D7D44B #4ED74B
monochromatic
#521E89 #6F2ABB #8E4BD7 #AD7DE2 #CDAFED

Accessibility & contrast

On white

5.08
#8E4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8E4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD7#FFFFFF#000000##FFFFFF
##8E4BD71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#106ED4
Tritanopia (blue-blind)
#7F6A8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4bd7;
/* rgb */ color: rgb(142, 75, 215);
/* oklch */ color: oklch(56.3% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#b481e4',
    500: '#8e4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd7;
$custom-light: #b481e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd7",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 268.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.20591,
    "h": 302.2
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#8E4BD7
secondary
#C0DBA2
accent
#E74197
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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