#8D64DC#8D64DC

#8D64DC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.177 H 296.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D64DC
RGBrgb(141, 100, 220)
HSLhsl(261, 63%, 63%)
HSVhsv(261, 55%, 86%)
CMYKcmyk(35.9%, 54.5%, 0%, 13.7%)
CIE-LABlab(51.77, 42.36, -55.80)
CIE-LCHlch(51.77, 70.06, 307.21°)
OKLaboklab(60.2% 0.0788 -0.1581)
OKLCHoklch(60.2% 0.177 296.5)
XYZxyz(28.4567, 19.9439, 70.0466)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64DC #B3DC64
analogous
#6477DC #8D64DC #C964DC
triadic
#8D64DC #DC8D64 #64DC8D
tetradic
#8D64DC #DC6477 #B3DC64 #64DCC9
square
#8D64DC #DC6477 #B3DC64 #64DCC9
split-complementary
#8D64DC #DCC964 #77DC64
monochromatic
#4F24A1 #6832D1 #8D64DC #B296E7 #D6C8F3

Accessibility & contrast

On white

4.21
#8D64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64DC#FFFFFF#000000##000000
##8D64DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#7B7D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d64dc;
/* rgb */ color: rgb(141, 100, 220);
/* oklch */ color: oklch(60.2% 0.177 296.5);
Tailwind
colors: {
  custom: {
    50: '#b291e7',
    500: '#8d64dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d64dc;
$custom-light: #b291e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64dc",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 260.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60195,
    "c": 0.17665,
    "h": 296.5
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#8D64DC
secondary
#D5E4B8
accent
#CB1B8F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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