#8D64EC#8D64EC

#8D64EC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.196 H 293.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D64EC
RGBrgb(141, 100, 236)
HSLhsl(258, 78%, 66%)
HSVhsv(258, 58%, 93%)
CMYKcmyk(40.3%, 57.6%, 0%, 7.5%)
CIE-LABlab(52.77, 46.57, -63.21)
CIE-LCHlch(52.77, 78.52, 306.38°)
OKLaboklab(61.24% 0.0789 -0.1799)
OKLCHoklch(61.24% 0.196 293.7)
XYZxyz(30.6780, 20.8324, 81.7453)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64EC #C3EC64
analogous
#647FEC #8D64EC #D164EC
triadic
#8D64EC #EC8D64 #64EC8D
tetradic
#8D64EC #EC647F #C3EC64 #64ECD1
square
#8D64EC #EC647F #C3EC64 #64ECD1
split-complementary
#8D64EC #ECD164 #7FEC64
monochromatic
#4A17BE #652DE5 #8D64EC #B59BF3 #DDD1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D64EC#FFFFFF#000000##000000
##8D64EC1.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)
#097FF0
Deuteranopia (green-blind)
#227CE9
Tritanopia (blue-blind)
#74829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d64ec;
/* rgb */ color: rgb(141, 100, 236);
/* oklch */ color: oklch(61.2% 0.196 293.7);
Tailwind
colors: {
  custom: {
    50: '#b491f3',
    500: '#8d64ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d64ec;
$custom-light: #b491f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64ec",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 258.088,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.19643,
    "h": 293.7
  },
  "luminance": 0.20833
}

Semantic roles & 50–950 ramp

primary
#8D64EC
secondary
#DFECBF
accent
#DA0B9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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