#8E4FDE#8E4FDE

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

Color values

HEX#8E4FDE
RGBrgb(142, 79, 222)
HSLhsl(266, 68%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(36%, 64.4%, 0%, 12.9%)
CIE-LABlab(47.77, 54.34, -63.37)
CIE-LCHlch(47.77, 83.48, 310.61°)
OKLaboklab(57.34% 0.1046 -0.1803)
OKLCHoklch(57.34% 0.208 300.1)
XYZxyz(27.1329, 16.6164, 70.8709)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FDE #9FDE4F
analogous
#4F58DE #8E4FDE #D64FDE
triadic
#8E4FDE #DE8E4F #4FDE8E
tetradic
#8E4FDE #DE4F58 #9FDE4F #4FDED6
square
#8E4FDE #DE4F58 #9FDE4F #4FDED6
split-complementary
#8E4FDE #DED64F #58DE4F
monochromatic
#521C96 #6E26CA #8E4FDE #AF83E8 #D0B6F1

Accessibility & contrast

On white

4.86
#8E4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8E4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FDE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FDE#FFFFFF#000000##FFFFFF
##8E4FDE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#7C6F90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4fde;
/* rgb */ color: rgb(142, 79, 222);
/* oklch */ color: oklch(57.3% 0.208 300.1);
Tailwind
colors: {
  custom: {
    50: '#b484e9',
    500: '#8e4fde',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fde;
$custom-light: #b484e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fde",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 266.434,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.20843,
    "h": 300.1
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#8E4FDE
secondary
#C8E0A8
accent
#EB3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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