#8E4FDD#8E4FDD

#8E4FDD is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.207 H 300.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E4FDD
RGBrgb(142, 79, 221)
HSLhsl(267, 68%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35.7%, 64.3%, 0%, 13.3%)
CIE-LABlab(47.70, 54.09, -62.92)
CIE-LCHlch(47.70, 82.97, 310.69°)
OKLaboklab(57.27% 0.1046 -0.179)
OKLCHoklch(57.27% 0.207 300.3)
XYZxyz(26.9993, 16.5630, 70.1671)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FDD #9EDD4F
analogous
#4F57DD #8E4FDD #D54FDD
triadic
#8E4FDD #DD8E4F #4FDD8E
tetradic
#8E4FDD #DD4F57 #9EDD4F #4FDDD5
square
#8E4FDD #DD4F57 #9EDD4F #4FDDD5
split-complementary
#8E4FDD #DDD54F #57DD4F
monochromatic
#521D95 #6E27C8 #8E4FDD #AF82E7 #D0B6F1

Accessibility & contrast

On white

4.87
#8E4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8E4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FDD#FFFFFF#000000##FFFFFF
##8E4FDD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0670DA
Tritanopia (blue-blind)
#7D6F8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4fdd;
/* rgb */ color: rgb(142, 79, 221);
/* oklch */ color: oklch(57.3% 0.207 300.3);
Tailwind
colors: {
  custom: {
    50: '#b484e8',
    500: '#8e4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fdd;
$custom-light: #b484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fdd",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 266.62,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.20732,
    "h": 300.3
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#8E4FDD
secondary
#C7E0A8
accent
#EA3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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