#8D64E1#8D64E1

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

Color values

HEX#8D64E1
RGBrgb(141, 100, 225)
HSLhsl(260, 68%, 64%)
HSVhsv(260, 56%, 88%)
CMYKcmyk(37.3%, 55.6%, 0%, 11.8%)
CIE-LABlab(52.08, 43.67, -58.14)
CIE-LCHlch(52.08, 72.71, 306.91°)
OKLaboklab(60.52% 0.0789 -0.165)
OKLCHoklch(60.52% 0.183 295.6)
XYZxyz(29.1288, 20.2128, 73.5863)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E1 #B8E164
analogous
#6479E1 #8D64E1 #CB64E1
triadic
#8D64E1 #E18D64 #64E18D
tetradic
#8D64E1 #E16479 #B8E164 #64E1CB
square
#8D64E1 #E16479 #B8E164 #64E1CB
split-complementary
#8D64E1 #E1CB64 #79E164
monochromatic
#4E21AA #6731D7 #8D64E1 #B397EB #D8CBF5

Accessibility & contrast

On white

4.16
#8D64E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D64E1#FFFFFF#000000##000000
##8D64E11.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#797E99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64e1;
/* rgb */ color: rgb(141, 100, 225);
/* oklch */ color: oklch(60.5% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#b391eb',
    500: '#8d64e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e1;
$custom-light: #b391eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e1",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 259.68,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.18288,
    "h": 295.6
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#8D64E1
secondary
#D8E6BA
accent
#CF1693
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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