#8D64E6#8D64E6

#8D64E6 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.189 H 294.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D64E6
RGBrgb(141, 100, 230)
HSLhsl(259, 72%, 65%)
HSVhsv(259, 57%, 90%)
CMYKcmyk(38.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(52.39, 44.99, -60.46)
CIE-LCHlch(52.39, 75.36, 306.65°)
OKLaboklab(60.84% 0.0789 -0.1718)
OKLCHoklch(60.84% 0.189 294.7)
XYZxyz(29.8209, 20.4896, 77.2313)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64E6 #BDE664
analogous
#647CE6 #8D64E6 #CE64E6
triadic
#8D64E6 #E68D64 #64E68D
tetradic
#8D64E6 #E6647C #BDE664 #64E6CE
square
#8D64E6 #E6647C #BDE664 #64E6CE
split-complementary
#8D64E6 #E6CE64 #7CE664
monochromatic
#4C1DB3 #662FDD #8D64E6 #B499EE #DBCDF7

Accessibility & contrast

On white

4.12
#8D64E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8D64E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64E6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64E6#FFFFFF#000000##000000
##8D64E61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#77809B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d64e6;
/* rgb */ color: rgb(141, 100, 230);
/* oklch */ color: oklch(60.8% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#b391ef',
    500: '#8d64e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d64e6;
$custom-light: #b391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64e6",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 258.923,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.18906,
    "h": 294.7
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#8D64E6
secondary
#DBE9BD
accent
#D41197
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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