#8E4FD3#8E4FD3

#8E4FD3 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.196 H 302.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E4FD3
RGBrgb(142, 79, 211)
HSLhsl(269, 60%, 57%)
HSVhsv(269, 63%, 83%)
CMYKcmyk(32.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(47.03, 51.65, -58.29)
CIE-LCHlch(47.03, 77.88, 311.54°)
OKLaboklab(56.57% 0.1054 -0.1654)
OKLCHoklch(56.57% 0.196 302.5)
XYZxyz(25.7065, 16.0459, 63.3583)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FD3 #94D34F
analogous
#4F52D3 #8E4FD3 #D04FD3
triadic
#8E4FD3 #D38E4F #4FD38E
tetradic
#8E4FD3 #D34F52 #94D34F #4FD3D0
square
#8E4FD3 #D34F52 #94D34F #4FD3D0
split-complementary
#8E4FD3 #D3D04F #52D34F
monochromatic
#522286 #6F2EB7 #8E4FD3 #AD80DF #CDB1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E4FD3#FFFFFF#000000##FFFFFF
##8E4FD31.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)
#006ED7
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#806B8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4fd3;
/* rgb */ color: rgb(142, 79, 211);
/* oklch */ color: oklch(56.6% 0.196 302.5);
Tailwind
colors: {
  custom: {
    50: '#b484e1',
    500: '#8e4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fd3;
$custom-light: #b484e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fd3",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 268.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.19612,
    "h": 302.5
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#8E4FD3
secondary
#C0DAA4
accent
#E34598
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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