#8E64ED#8E64ED

#8E64ED is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.198 H 293.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8E64ED
RGBrgb(142, 100, 237)
HSLhsl(258, 79%, 66%)
HSVhsv(258, 58%, 93%)
CMYKcmyk(40.1%, 57.8%, 0%, 7.1%)
CIE-LABlab(52.93, 47.06, -63.51)
CIE-LCHlch(52.93, 79.04, 306.54°)
OKLaboklab(61.4% 0.0801 -0.1807)
OKLCHoklch(61.4% 0.198 293.9)
XYZxyz(30.9945, 20.9788, 82.5206)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64ED #C3ED64
analogous
#647EED #8E64ED #D264ED
triadic
#8E64ED #ED8E64 #64ED8E
tetradic
#8E64ED #ED647E #C3ED64 #64EDD2
square
#8E64ED #ED647E #C3ED64 #64EDD2
split-complementary
#8E64ED #EDD264 #7EED64
monochromatic
#4A16C0 #662DE7 #8E64ED #B69BF3 #DED2FA

Accessibility & contrast

On white

4.04
#8E64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8E64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64ED
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64ED#FFFFFF#000000##000000
##8E64ED1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0680F1
Deuteranopia (green-blind)
#227CEA
Tritanopia (blue-blind)
#75829F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e64ed;
/* rgb */ color: rgb(142, 100, 237);
/* oklch */ color: oklch(61.4% 0.198 293.9);
Tailwind
colors: {
  custom: {
    50: '#b592f4',
    500: '#8e64ed',
    950: '#000000',
  },
}
SCSS
$custom: #8e64ed;
$custom-light: #b592f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64ed",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 258.394,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.19771,
    "h": 293.9
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#8E64ED
secondary
#DFEDC0
accent
#DB0A9B
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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