#8D64E4#8D64E4

#8D64E4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.187 H 295.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D64E4
RGBrgb(141, 100, 228)
HSLhsl(259, 70%, 64%)
HSVhsv(259, 56%, 89%)
CMYKcmyk(38.2%, 56.1%, 0%, 10.6%)
CIE-LABlab(52.26, 44.46, -59.53)
CIE-LCHlch(52.26, 74.30, 306.75°)
OKLaboklab(60.71% 0.0789 -0.1691)
OKLCHoklch(60.71% 0.187 295)
XYZxyz(29.5416, 20.3779, 75.7606)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E4 #BBE464
analogous
#647BE4 #8D64E4 #CD64E4
triadic
#8D64E4 #E48D64 #64E48D
tetradic
#8D64E4 #E4647B #BBE464 #64E4CD
square
#8D64E4 #E4647B #BBE464 #64E4CD
split-complementary
#8D64E4 #E4CD64 #7BE464
monochromatic
#4D1FAF #6730DB #8D64E4 #B398ED #DACCF6

Accessibility & contrast

On white

4.14
#8D64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E4#FFFFFF#000000##000000
##8D64E41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227EE8
Deuteranopia (green-blind)
#317BE1
Tritanopia (blue-blind)
#777F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d64e4;
/* rgb */ color: rgb(141, 100, 228);
/* oklch */ color: oklch(60.7% 0.187 295.0);
Tailwind
colors: {
  custom: {
    50: '#b391ed',
    500: '#8d64e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e4;
$custom-light: #b391ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e4",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 259.219,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.18659,
    "h": 295
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#8D64E4
secondary
#DAE8BC
accent
#D21395
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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