#8E4FD4#8E4FD4

#8E4FD4 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.197 H 302.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8E4FD4
RGBrgb(142, 79, 212)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 63%, 83%)
CMYKcmyk(33%, 62.7%, 0%, 16.9%)
CIE-LABlab(47.10, 51.89, -58.76)
CIE-LCHlch(47.10, 78.39, 311.45°)
OKLaboklab(56.64% 0.1053 -0.1667)
OKLCHoklch(56.64% 0.197 302.3)
XYZxyz(25.8322, 16.0962, 64.0205)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FD4 #95D44F
analogous
#4F53D4 #8E4FD4 #D14FD4
triadic
#8E4FD4 #D48E4F #4FD48E
tetradic
#8E4FD4 #D44F53 #95D44F #4FD4D1
square
#8E4FD4 #D44F53 #95D44F #4FD4D1
split-complementary
#8E4FD4 #D4D14F #53D44F
monochromatic
#522187 #6F2DB9 #8E4FD4 #AE80E0 #CDB1EC

Accessibility & contrast

On white

4.98
#8E4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8E4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FD4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FD4#FFFFFF#000000##FFFFFF
##8E4FD41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#236FD1
Tritanopia (blue-blind)
#806C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4fd4;
/* rgb */ color: rgb(142, 79, 212);
/* oklch */ color: oklch(56.6% 0.197 302.3);
Tailwind
colors: {
  custom: {
    50: '#b484e2',
    500: '#8e4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fd4;
$custom-light: #b484e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fd4",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 268.421,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.19724,
    "h": 302.3
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#8E4FD4
secondary
#C1DAA4
accent
#E44498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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