#8E4FD7#8E4FD7

#8E4FD7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.201 H 301.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8E4FD7
RGBrgb(142, 79, 215)
HSLhsl(268, 63%, 58%)
HSVhsv(268, 63%, 84%)
CMYKcmyk(34%, 63.3%, 0%, 15.7%)
CIE-LABlab(47.30, 52.62, -60.15)
CIE-LCHlch(47.30, 79.92, 311.18°)
OKLaboklab(56.85% 0.1051 -0.1708)
OKLCHoklch(56.85% 0.201 301.6)
XYZxyz(26.2141, 16.2489, 66.0321)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FD7 #98D74F
analogous
#4F54D7 #8E4FD7 #D24FD7
triadic
#8E4FD7 #D78E4F #4FD78E
tetradic
#8E4FD7 #D74F54 #98D74F #4FD7D2
square
#8E4FD7 #D74F54 #98D74F #4FD7D2
split-complementary
#8E4FD7 #D7D24F #54D74F
monochromatic
#52208C #6F2BBE #8E4FD7 #AE81E2 #CEB3EE

Accessibility & contrast

On white

4.94
#8E4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8E4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FD7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FD7#FFFFFF#000000##FFFFFF
##8E4FD71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#1C70D4
Tritanopia (blue-blind)
#7F6D8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4fd7;
/* rgb */ color: rgb(142, 79, 215);
/* oklch */ color: oklch(56.8% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#b484e4',
    500: '#8e4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fd7;
$custom-light: #b484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fd7",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 267.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.2006,
    "h": 301.6
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#8E4FD7
secondary
#C3DCA6
accent
#E6429A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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