#8E64EB#8E64EB

#8E64EB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.195 H 294.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E64EB
RGBrgb(142, 100, 235)
HSLhsl(259, 77%, 66%)
HSVhsv(259, 57%, 92%)
CMYKcmyk(39.6%, 57.4%, 0%, 7.8%)
CIE-LABlab(52.80, 46.53, -62.59)
CIE-LCHlch(52.80, 77.99, 306.62°)
OKLaboklab(61.27% 0.0802 -0.1781)
OKLCHoklch(61.27% 0.195 294.2)
XYZxyz(30.7039, 20.8626, 80.9903)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64EB #C1EB64
analogous
#647DEB #8E64EB #D264EB
triadic
#8E64EB #EB8E64 #64EB8E
tetradic
#8E64EB #EB647D #C1EB64 #64EBD2
square
#8E64EB #EB647D #C1EB64 #64EBD2
split-complementary
#8E64EB #EBD264 #7DEB64
monochromatic
#4B18BC #662EE4 #8E64EB #B69AF2 #DDD0F9

Accessibility & contrast

On white

4.06
#8E64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8E64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64EB#FFFFFF#000000##000000
##8E64EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEF
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#76819E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e64eb;
/* rgb */ color: rgb(142, 100, 235);
/* oklch */ color: oklch(61.3% 0.195 294.2);
Tailwind
colors: {
  custom: {
    50: '#b492f2',
    500: '#8e64eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e64eb;
$custom-light: #b492f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64eb",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 258.667,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.19527,
    "h": 294.2
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#8E64EB
secondary
#DEECBF
accent
#D90C9A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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