#8E4FDF#8E4FDF

#8E4FDF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.210 H 299.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E4FDF
RGBrgb(142, 79, 223)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(36.3%, 64.6%, 0%, 12.5%)
CIE-LABlab(47.84, 54.59, -63.83)
CIE-LCHlch(47.84, 83.99, 310.54°)
OKLaboklab(57.41% 0.1045 -0.1817)
OKLCHoklch(57.41% 0.21 299.9)
XYZxyz(27.2673, 16.6702, 71.5788)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FDF #A0DF4F
analogous
#4F58DF #8E4FDF #D64FDF
triadic
#8E4FDF #DF8E4F #4FDF8E
tetradic
#8E4FDF #DF4F58 #A0DF4F #4FDFD6
square
#8E4FDF #DF4F58 #A0DF4F #4FDFD6
split-complementary
#8E4FDF #DFD64F #58DF4F
monochromatic
#521C98 #6E25CC #8E4FDF #AF83E8 #D0B7F2

Accessibility & contrast

On white

4.85
#8E4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8E4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FDF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FDF#FFFFFF#000000##FFFFFF
##8E4FDF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#7C6F90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4fdf;
/* rgb */ color: rgb(142, 79, 223);
/* oklch */ color: oklch(57.4% 0.210 299.9);
Tailwind
colors: {
  custom: {
    50: '#b484ea',
    500: '#8e4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fdf;
$custom-light: #b484ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fdf",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 266.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.20955,
    "h": 299.9
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#8E4FDF
secondary
#C8E1A9
accent
#EC3C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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