#8D64E0#8D64E0

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

Color values

HEX#8D64E0
RGBrgb(141, 100, 224)
HSLhsl(260, 67%, 64%)
HSVhsv(260, 55%, 88%)
CMYKcmyk(37.1%, 55.4%, 0%, 12.2%)
CIE-LABlab(52.02, 43.41, -57.67)
CIE-LCHlch(52.02, 72.18, 306.97°)
OKLaboklab(60.45% 0.0789 -0.1636)
OKLCHoklch(60.45% 0.182 295.7)
XYZxyz(28.9928, 20.1584, 72.8700)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E0 #B7E064
analogous
#6479E0 #8D64E0 #CB64E0
triadic
#8D64E0 #E08D64 #64E08D
tetradic
#8D64E0 #E06479 #B7E064 #64E0CB
square
#8D64E0 #E06479 #B7E064 #64E0CB
split-complementary
#8D64E0 #E0CB64 #79E064
monochromatic
#4E22A8 #6731D6 #8D64E0 #B397EA #D8CAF4

Accessibility & contrast

On white

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

On black

5.03
#8D64E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E0#FFFFFF#000000##000000
##8D64E01.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE4
Deuteranopia (green-blind)
#377ADD
Tritanopia (blue-blind)
#797E98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64e0;
/* rgb */ color: rgb(141, 100, 224);
/* oklch */ color: oklch(60.5% 0.182 295.7);
Tailwind
colors: {
  custom: {
    50: '#b391ea',
    500: '#8d64e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e0;
$custom-light: #b391ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e0",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 259.839,
    "s": 66.667,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.18163,
    "h": 295.7
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#8D64E0
secondary
#D7E6BA
accent
#CF1792
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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