#8E4FD9#8E4FD9

#8E4FD9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.203 H 301.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E4FD9
RGBrgb(142, 79, 217)
HSLhsl(267, 64%, 58%)
HSVhsv(267, 64%, 85%)
CMYKcmyk(34.6%, 63.6%, 0%, 14.9%)
CIE-LABlab(47.43, 53.11, -61.08)
CIE-LCHlch(47.43, 80.94, 311.01°)
OKLaboklab(56.99% 0.105 -0.1736)
OKLCHoklch(56.99% 0.203 301.2)
XYZxyz(26.4727, 16.3524, 67.3938)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FD9 #9AD94F
analogous
#4F55D9 #8E4FD9 #D34FD9
triadic
#8E4FD9 #D98E4F #4FD98E
tetradic
#8E4FD9 #D94F55 #9AD94F #4FD9D3
square
#8E4FD9 #D94F55 #9AD94F #4FD9D3
split-complementary
#8E4FD9 #D9D34F #55D94F
monochromatic
#521F8F #6F2AC1 #8E4FD9 #AE81E4 #CFB4EF

Accessibility & contrast

On white

4.92
#8E4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FD9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FD9#FFFFFF#000000##FFFFFF
##8E4FD91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#1770D6
Tritanopia (blue-blind)
#7E6D8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4fd9;
/* rgb */ color: rgb(142, 79, 217);
/* oklch */ color: oklch(57.0% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#b484e6',
    500: '#8e4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fd9;
$custom-light: #b484e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fd9",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 267.391,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.20284,
    "h": 301.2
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#8E4FD9
secondary
#C4DDA6
accent
#E7409B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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