#8E4BD4#8E4BD4

#8E4BD4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.203 H 302.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD4
RGBrgb(142, 75, 212)
HSLhsl(269, 61%, 56%)
HSVhsv(269, 65%, 83%)
CMYKcmyk(33%, 64.6%, 0%, 16.9%)
CIE-LABlab(46.36, 53.91, -59.95)
CIE-LCHlch(46.36, 80.62, 311.96°)
OKLaboklab(56.11% 0.1099 -0.1702)
OKLCHoklch(56.11% 0.203 302.8)
XYZxyz(25.5523, 15.5364, 63.9272)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD4 #91D44B
analogous
#4B4DD4 #8E4BD4 #D34BD4
triadic
#8E4BD4 #D48E4B #4BD48E
tetradic
#8E4BD4 #D44B4D #91D44B #4BD4D3
square
#8E4BD4 #D44B4D #91D44B #4BD4D3
split-complementary
#8E4BD4 #D4D34B #4DD44B
monochromatic
#512085 #6F2CB6 #8E4BD4 #AD7CE0 #CCAEEC

Accessibility & contrast

On white

5.11
#8E4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8E4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD4#FFFFFF#000000##FFFFFF
##8E4BD41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#806989
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4bd4;
/* rgb */ color: rgb(142, 75, 212);
/* oklch */ color: oklch(56.1% 0.203 302.8);
Tailwind
colors: {
  custom: {
    50: '#b481e2',
    500: '#8e4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd4;
$custom-light: #b481e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd4",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 269.343,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.20262,
    "h": 302.8
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#8E4BD4
secondary
#BEDAA1
accent
#E54396
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8E4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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