#8E64DA#8E64DA

#8E64DA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.174 H 297.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E64DA
RGBrgb(142, 100, 218)
HSLhsl(261, 61%, 62%)
HSVhsv(261, 54%, 85%)
CMYKcmyk(34.9%, 54.1%, 0%, 14.5%)
CIE-LABlab(51.75, 42.08, -54.69)
CIE-LCHlch(51.75, 69.01, 307.58°)
OKLaboklab(60.17% 0.08 -0.1548)
OKLCHoklch(60.17% 0.174 297.3)
XYZxyz(28.3642, 19.9267, 68.6679)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64DA #B0DA64
analogous
#6475DA #8E64DA #C964DA
triadic
#8E64DA #DA8E64 #64DA8E
tetradic
#8E64DA #DA6475 #B0DA64 #64DAC9
square
#8E64DA #DA6475 #B0DA64 #64DAC9
split-complementary
#8E64DA #DAC964 #75DA64
monochromatic
#50269E #6A33CE #8E64DA #B295E6 #D6C7F2

Accessibility & contrast

On white

4.21
#8E64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8E64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64DA#FFFFFF#000000##000000
##8E64DA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#7D7C95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e64da;
/* rgb */ color: rgb(142, 100, 218);
/* oklch */ color: oklch(60.2% 0.174 297.3);
Tailwind
colors: {
  custom: {
    50: '#b391e6',
    500: '#8e64da',
    950: '#000000',
  },
}
SCSS
$custom: #8e64da;
$custom-light: #b391e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64da",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 261.356,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.17428,
    "h": 297.3
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#8E64DA
secondary
#D3E2B7
accent
#C91C8C
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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