#8E4ADF#8E4ADF

#8E4ADF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.216 H 300.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E4ADF
RGBrgb(142, 74, 223)
HSLhsl(267, 70%, 58%)
HSVhsv(267, 67%, 87%)
CMYKcmyk(36.3%, 66.8%, 0%, 12.5%)
CIE-LABlab(46.94, 57.05, -65.29)
CIE-LCHlch(46.94, 86.70, 311.15°)
OKLaboklab(56.76% 0.1098 -0.1859)
OKLCHoklch(56.76% 0.216 300.6)
XYZxyz(26.9201, 15.9759, 71.4631)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ADF #9BDF4A
analogous
#4A50DF #8E4ADF #D94ADF
triadic
#8E4ADF #DF8E4A #4ADF8E
tetradic
#8E4ADF #DF4A50 #9BDF4A #4ADFD9
square
#8E4ADF #DF4A50 #9BDF4A #4ADFD9
split-complementary
#8E4ADF #DFD94A #50DF4A
monochromatic
#521A94 #6F23C8 #8E4ADF #AE7EE8 #CFB2F1

Accessibility & contrast

On white

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

On black

4.20
#8E4ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E4ADF#FFFFFF#000000##FFFFFF
##8E4ADF1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#7C6D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4adf;
/* rgb */ color: rgb(142, 74, 223);
/* oklch */ color: oklch(56.8% 0.216 300.6);
Tailwind
colors: {
  custom: {
    50: '#b581ea',
    500: '#8e4adf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4adf;
$custom-light: #b581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4adf",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 267.383,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.2159,
    "h": 300.6
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#8E4ADF
secondary
#C5E0A5
accent
#ED3B9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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