#8E64DF#8E64DF

#8E64DF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.180 H 296.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8E64DF
RGBrgb(142, 100, 223)
HSLhsl(260, 66%, 63%)
HSVhsv(260, 55%, 87%)
CMYKcmyk(36.3%, 55.2%, 0%, 12.5%)
CIE-LABlab(52.05, 43.38, -57.04)
CIE-LCHlch(52.05, 71.66, 307.25°)
OKLaboklab(60.48% 0.0801 -0.1617)
OKLCHoklch(60.48% 0.18 296.3)
XYZxyz(29.0284, 20.1924, 72.1659)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E64DF #B5DF64
analogous
#6477DF #8E64DF #CB64DF
triadic
#8E64DF #DF8E64 #64DF8E
tetradic
#8E64DF #DF6477 #B5DF64 #64DFCB
square
#8E64DF #DF6477 #B5DF64 #64DFCB
split-complementary
#8E64DF #DFCB64 #77DF64
monochromatic
#4F22A6 #6931D5 #8E64DF #B397E9 #D8C9F4

Accessibility & contrast

On white

4.17
#8E64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8E64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E64DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E64DF#FFFFFF#000000##000000
##8E64DF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#397BDC
Tritanopia (blue-blind)
#7B7D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e64df;
/* rgb */ color: rgb(142, 100, 223);
/* oklch */ color: oklch(60.5% 0.180 296.3);
Tailwind
colors: {
  custom: {
    50: '#b391ea',
    500: '#8e64df',
    950: '#000000',
  },
}
SCSS
$custom: #8e64df;
$custom-light: #b391ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e64df",
  "rgb": {
    "r": 142,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 260.488,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.18049,
    "h": 296.3
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#8E64DF
secondary
#D6E5B9
accent
#CE1890
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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