#8E4BD3#8E4BD3

#8E4BD3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.202 H 303.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD3
RGBrgb(142, 75, 211)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(32.7%, 64.5%, 0%, 17.3%)
CIE-LABlab(46.29, 53.67, -59.49)
CIE-LCHlch(46.29, 80.12, 312.05°)
OKLaboklab(56.04% 0.11 -0.1689)
OKLCHoklch(56.04% 0.202 303.1)
XYZxyz(25.4266, 15.4861, 63.2650)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD3 #90D34B
analogous
#4B4CD3 #8E4BD3 #D24BD3
triadic
#8E4BD3 #D38E4B #4BD38E
tetradic
#8E4BD3 #D34B4C #90D34B #4BD3D2
square
#8E4BD3 #D34B4C #90D34B #4BD3D2
split-complementary
#8E4BD3 #D3D24B #4CD34B
monochromatic
#512083 #6F2CB5 #8E4BD3 #AD7CDF #CCADEB

Accessibility & contrast

On white

5.13
#8E4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8E4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD3#FFFFFF#000000##FFFFFF
##8E4BD31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#1C6DD0
Tritanopia (blue-blind)
#816988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4bd3;
/* rgb */ color: rgb(142, 75, 211);
/* oklch */ color: oklch(56.0% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#b481e1',
    500: '#8e4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd3;
$custom-light: #b481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd3",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 269.559,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.20152,
    "h": 303.1
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#8E4BD3
secondary
#BDD9A1
accent
#E44495
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8E4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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