#8E4FCD#8E4FCD

#8E4FCD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.189 H 303.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8E4FCD
RGBrgb(142, 79, 205)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 61%, 80%)
CMYKcmyk(30.7%, 61.5%, 0%, 19.6%)
CIE-LABlab(46.65, 50.20, -55.48)
CIE-LCHlch(46.65, 74.82, 312.14°)
OKLaboklab(56.17% 0.1057 -0.1571)
OKLCHoklch(56.17% 0.189 303.9)
XYZxyz(24.9683, 15.7506, 59.4706)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FCD #8ECD4F
analogous
#4F4FCD #8E4FCD #CD4FCD
triadic
#8E4FCD #CD8E4F #4FCD8E
tetradic
#8E4FCD #CD4F4F #8ECD4F #4FCDCD
square
#8E4FCD #CD4F4F #8ECD4F #4FCDCD
split-complementary
#8E4FCD #CDCD4F #4FCD4F
monochromatic
#51247E #6F31AE #8E4FCD #AD7FDB #CBAEE8

Accessibility & contrast

On white

5.06
#8E4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8E4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FCD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FCD#FFFFFF#000000##FFFFFF
##8E4FCD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#826987
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4fcd;
/* rgb */ color: rgb(142, 79, 205);
/* oklch */ color: oklch(56.2% 0.189 303.9);
Tailwind
colors: {
  custom: {
    50: '#b383dd',
    500: '#8e4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fcd;
$custom-light: #b383dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fcd",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56165,
    "c": 0.18935,
    "h": 303.9
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#8E4FCD
secondary
#BCD6A2
accent
#DF4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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