#8E4CDB#8E4CDB

#8E4CDB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.209 H 301.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E4CDB
RGBrgb(142, 76, 219)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 65%, 86%)
CMYKcmyk(35.2%, 65.3%, 0%, 14.1%)
CIE-LABlab(47.02, 55.10, -62.89)
CIE-LCHlch(47.02, 83.61, 311.23°)
OKLaboklab(56.73% 0.1081 -0.1789)
OKLCHoklch(56.73% 0.209 301.1)
XYZxyz(26.5229, 16.0340, 68.7016)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CDB #99DB4C
analogous
#4C51DB #8E4CDB #D54CDB
triadic
#8E4CDB #DB8E4C #4CDB8E
tetradic
#8E4CDB #DB4C51 #99DB4C #4CDBD5
square
#8E4CDB #DB4C51 #99DB4C #4CDBD5
split-complementary
#8E4CDB #DBD54C #51DB4C
monochromatic
#521D90 #6F27C3 #8E4CDB #AE7FE5 #CEB2EF

Accessibility & contrast

On white

4.99
#8E4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8E4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CDB#FFFFFF#000000##FFFFFF
##8E4CDB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#7E6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4cdb;
/* rgb */ color: rgb(142, 76, 219);
/* oklch */ color: oklch(56.7% 0.209 301.1);
Tailwind
colors: {
  custom: {
    50: '#b482e7',
    500: '#8e4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cdb;
$custom-light: #b482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cdb",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 267.692,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.209,
    "h": 301.1
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#8E4CDB
secondary
#C4DEA5
accent
#E93E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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