#8E4BD2#8E4BD2

#8E4BD2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.200 H 303.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8E4BD2
RGBrgb(142, 75, 210)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(32.4%, 64.3%, 0%, 17.6%)
CIE-LABlab(46.23, 53.43, -59.02)
CIE-LCHlch(46.23, 79.61, 312.15°)
OKLaboklab(55.97% 0.11 -0.1675)
OKLCHoklch(55.97% 0.2 303.3)
XYZxyz(25.3016, 15.4361, 62.6068)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BD2 #8FD24B
analogous
#4B4BD2 #8E4BD2 #D24BD2
triadic
#8E4BD2 #D28E4B #4BD28E
tetradic
#8E4BD2 #D24B4B #8FD24B #4BD2D2
square
#8E4BD2 #D24B4B #8FD24B #4BD2D2
split-complementary
#8E4BD2 #D2D24B #4BD24B
monochromatic
#512182 #6F2DB3 #8E4BD2 #AD7CDE #CBADEA

Accessibility & contrast

On white

5.14
#8E4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8E4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BD2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BD2#FFFFFF#000000##FFFFFF
##8E4BD21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#816888
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e4bd2;
/* rgb */ color: rgb(142, 75, 210);
/* oklch */ color: oklch(56.0% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#b481e1',
    500: '#8e4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bd2;
$custom-light: #b481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bd2",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 269.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55965,
    "c": 0.20042,
    "h": 303.3
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#8E4BD2
secondary
#BDD8A0
accent
#E34594
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8E4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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