#8E4FD1#8E4FD1

#8E4FD1 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.194 H 303.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E4FD1
RGBrgb(142, 79, 209)
HSLhsl(269, 59%, 56%)
HSVhsv(269, 62%, 82%)
CMYKcmyk(32.1%, 62.2%, 0%, 18%)
CIE-LABlab(46.90, 51.16, -57.36)
CIE-LCHlch(46.90, 76.86, 311.73°)
OKLaboklab(56.44% 0.1055 -0.1626)
OKLCHoklch(56.44% 0.194 303)
XYZxyz(25.4573, 15.9462, 62.0460)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FD1 #92D14F
analogous
#4F51D1 #8E4FD1 #CF4FD1
triadic
#8E4FD1 #D18E4F #4FD18E
tetradic
#8E4FD1 #D14F51 #92D14F #4FD1CF
square
#8E4FD1 #D14F51 #92D14F #4FD1CF
split-complementary
#8E4FD1 #D1CF4F #51D14F
monochromatic
#512283 #6F2FB4 #8E4FD1 #AD80DE #CCB0EA

Accessibility & contrast

On white

5.01
#8E4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8E4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FD1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FD1#FFFFFF#000000##FFFFFF
##8E4FD11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#286FCE
Tritanopia (blue-blind)
#816B89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4fd1;
/* rgb */ color: rgb(142, 79, 209);
/* oklch */ color: oklch(56.4% 0.194 303.0);
Tailwind
colors: {
  custom: {
    50: '#b384e0',
    500: '#8e4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fd1;
$custom-light: #b384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fd1",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 269.077,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.19386,
    "h": 303
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#8E4FD1
secondary
#BFD9A3
accent
#E24696
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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