#8D64D6#8D64D6

#8D64D6 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.169 H 297.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D64D6
RGBrgb(141, 100, 214)
HSLhsl(262, 58%, 62%)
HSVhsv(262, 53%, 84%)
CMYKcmyk(34.1%, 53.3%, 0%, 16.1%)
CIE-LABlab(51.42, 40.81, -52.97)
CIE-LCHlch(51.42, 66.87, 307.61°)
OKLaboklab(59.82% 0.0785 -0.1498)
OKLCHoklch(59.82% 0.169 297.7)
XYZxyz(27.6763, 19.6318, 65.9365)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D6 #ADD664
analogous
#6474D6 #8D64D6 #C664D6
triadic
#8D64D6 #D68D64 #64D68D
tetradic
#8D64D6 #D66474 #ADD664 #64D6C6
square
#8D64D6 #D66474 #ADD664 #64D6C6
split-complementary
#8D64D6 #D6C664 #74D664
monochromatic
#502898 #6A35C8 #8D64D6 #B194E3 #D4C5F0

Accessibility & contrast

On white

4.26
#8D64D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D64D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D6#FFFFFF#000000##000000
##8D64D61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDA
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#7D7B93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d64d6;
/* rgb */ color: rgb(141, 100, 214);
/* oklch */ color: oklch(59.8% 0.169 297.7);
Tailwind
colors: {
  custom: {
    50: '#b291e3',
    500: '#8d64d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d6;
$custom-light: #b291e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d6",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 261.579,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.16914,
    "h": 297.7
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#8D64D6
secondary
#D1E0B6
accent
#C6208A
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #8D64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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