#8E4DDB#8E4DDB

#8E4DDB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.208 H 301.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8E4DDB
RGBrgb(142, 77, 219)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.2%, 64.8%, 0%, 14.1%)
CIE-LABlab(47.20, 54.61, -62.59)
CIE-LCHlch(47.20, 83.06, 311.10°)
OKLaboklab(56.86% 0.107 -0.178)
OKLCHoklch(56.86% 0.208 301)
XYZxyz(26.5923, 16.1729, 68.7248)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DDB #9ADB4D
analogous
#4D53DB #8E4DDB #D54DDB
triadic
#8E4DDB #DB8E4D #4DDB8E
tetradic
#8E4DDB #DB4D53 #9ADB4D #4DDBD5
square
#8E4DDB #DB4D53 #9ADB4D #4DDBD5
split-complementary
#8E4DDB #DBD54D #53DB4D
monochromatic
#521D90 #6F27C3 #8E4DDB #AE80E5 #CFB3F0

Accessibility & contrast

On white

4.96
#8E4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8E4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DDB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DDB#FFFFFF#000000##FFFFFF
##8E4DDB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#066FD8
Tritanopia (blue-blind)
#7E6D8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4ddb;
/* rgb */ color: rgb(142, 77, 219);
/* oklch */ color: oklch(56.9% 0.208 301.0);
Tailwind
colors: {
  custom: {
    50: '#b483e7',
    500: '#8e4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ddb;
$custom-light: #b483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ddb",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 267.465,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.2077,
    "h": 301
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#8E4DDB
secondary
#C4DEA6
accent
#E93F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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