#8D64D7#8D64D7

#8D64D7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.170 H 297.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D64D7
RGBrgb(141, 100, 215)
HSLhsl(261, 59%, 62%)
HSVhsv(261, 53%, 84%)
CMYKcmyk(34.4%, 53.5%, 0%, 15.7%)
CIE-LABlab(51.48, 41.07, -53.44)
CIE-LCHlch(51.48, 67.40, 307.54°)
OKLaboklab(59.88% 0.0786 -0.1512)
OKLCHoklch(59.88% 0.17 297.5)
XYZxyz(27.8044, 19.6830, 66.6111)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D7 #AED764
analogous
#6475D7 #8D64D7 #C664D7
triadic
#8D64D7 #D78D64 #64D78D
tetradic
#8D64D7 #D76475 #AED764 #64D7C6
square
#8D64D7 #D76475 #AED764 #64D7C6
split-complementary
#8D64D7 #D7C664 #75D764
monochromatic
#502899 #6934CA #8D64D7 #B195E4 #D5C5F0

Accessibility & contrast

On white

4.25
#8D64D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D64D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D7#FFFFFF#000000##000000
##8D64D71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#7C7B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d64d7;
/* rgb */ color: rgb(141, 100, 215);
/* oklch */ color: oklch(59.9% 0.170 297.5);
Tailwind
colors: {
  custom: {
    50: '#b291e4',
    500: '#8d64d7',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d7;
$custom-light: #b291e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d7",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 261.391,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.1704,
    "h": 297.5
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#8D64D7
secondary
#D2E1B6
accent
#C71F8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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