#8D64D2#8D64D2

#8D64D2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.164 H 298.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D64D2
RGBrgb(141, 100, 210)
HSLhsl(262, 55%, 61%)
HSVhsv(262, 52%, 82%)
CMYKcmyk(32.9%, 52.4%, 0%, 17.6%)
CIE-LABlab(51.19, 39.78, -51.06)
CIE-LCHlch(51.19, 64.73, 307.92°)
OKLaboklab(59.57% 0.0783 -0.1442)
OKLCHoklch(59.57% 0.164 298.5)
XYZxyz(27.1717, 19.4299, 63.2791)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D2 #A9D264
analogous
#6472D2 #8D64D2 #C464D2
triadic
#8D64D2 #D28D64 #64D28D
tetradic
#8D64D2 #D26472 #A9D264 #64D2C4
square
#8D64D2 #D26472 #A9D264 #64D2C4
split-complementary
#8D64D2 #D2C464 #72D264
monochromatic
#512A91 #6B38C1 #8D64D2 #B093E0 #D3C3EE

Accessibility & contrast

On white

4.30
#8D64D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D64D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D2#FFFFFF#000000##000000
##8D64D21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#7E7991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d64d2;
/* rgb */ color: rgb(141, 100, 210);
/* oklch */ color: oklch(59.6% 0.164 298.5);
Tailwind
colors: {
  custom: {
    50: '#b291e0',
    500: '#8d64d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d2;
$custom-light: #b291e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d2",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 262.364,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.16412,
    "h": 298.5
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#8D64D2
secondary
#CEDEB4
accent
#C32387
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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