#8E64DC#8E64DC

#8E64DC is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.177 H 296.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E64DC
RGBrgb(142, 100, 220)
HSLhsl(261, 63%, 63%)
HSVhsv(261, 55%, 86%)
CMYKcmyk(35.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(51.87, 42.60, -55.64)
CIE-LCHlch(51.87, 70.07, 307.44°)
OKLaboklab(60.29% 0.08 -0.1576)
OKLCHoklch(60.29% 0.177 296.9)
XYZxyz(28.6275, 20.0320, 70.0546)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64DC #B2DC64
analogous
#6476DC #8E64DC #CA64DC
triadic
#8E64DC #DC8E64 #64DC8E
tetradic
#8E64DC #DC6476 #B2DC64 #64DCCA
square
#8E64DC #DC6476 #B2DC64 #64DCCA
split-complementary
#8E64DC #DCCA64 #76DC64
monochromatic
#5024A1 #6A32D1 #8E64DC #B296E7 #D7C8F3

Accessibility & contrast

On white

4.19
#8E64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8E64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64DC#FFFFFF#000000##000000
##8E64DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#7C7C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e64dc;
/* rgb */ color: rgb(142, 100, 220);
/* oklch */ color: oklch(60.3% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#b391e7',
    500: '#8e64dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e64dc;
$custom-light: #b391e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64dc",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 261,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.17676,
    "h": 296.9
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#8E64DC
secondary
#D4E4B8
accent
#CB1B8D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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