#8D64E5#8D64E5

#8D64E5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.188 H 294.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D64E5
RGBrgb(141, 100, 229)
HSLhsl(259, 71%, 65%)
HSVhsv(259, 56%, 90%)
CMYKcmyk(38.4%, 56.3%, 0%, 10.2%)
CIE-LABlab(52.32, 44.72, -59.99)
CIE-LCHlch(52.32, 74.83, 306.70°)
OKLaboklab(60.78% 0.0789 -0.1704)
OKLCHoklch(60.78% 0.188 294.8)
XYZxyz(29.6808, 20.4336, 76.4938)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E5 #BCE564
analogous
#647CE5 #8D64E5 #CE64E5
triadic
#8D64E5 #E58D64 #64E58D
tetradic
#8D64E5 #E5647C #BCE564 #64E5CE
square
#8D64E5 #E5647C #BCE564 #64E5CE
split-complementary
#8D64E5 #E5CE64 #7CE564
monochromatic
#4C1EB1 #6630DC #8D64E5 #B498EE #DACDF7

Accessibility & contrast

On white

4.13
#8D64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E5#FFFFFF#000000##000000
##8D64E51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#207EE9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#777F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d64e5;
/* rgb */ color: rgb(141, 100, 229);
/* oklch */ color: oklch(60.8% 0.188 294.8);
Tailwind
colors: {
  custom: {
    50: '#b391ee',
    500: '#8d64e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e5;
$custom-light: #b391ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e5",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 259.07,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.18782,
    "h": 294.8
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#8D64E5
secondary
#DBE9BC
accent
#D31296
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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