#8D64C2#8D64C2

#8D64C2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.6% C 0.144 H 302.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D64C2
RGBrgb(141, 100, 194)
HSLhsl(266, 44%, 58%)
HSVhsv(266, 48%, 76%)
CMYKcmyk(27.3%, 48.5%, 0%, 23.9%)
CIE-LABlab(50.30, 35.76, -43.31)
CIE-LCHlch(50.30, 56.16, 309.54°)
OKLaboklab(58.63% 0.0769 -0.1216)
OKLCHoklch(58.63% 0.144 302.3)
XYZxyz(25.2771, 18.6721, 53.3009)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64C2 #99C264
analogous
#646AC2 #8D64C2 #BC64C2
triadic
#8D64C2 #C28D64 #64C28D
tetradic
#8D64C2 #C2646A #99C264 #64C2BC
square
#8D64C2 #C2646A #99C264 #64C2BC
split-complementary
#8D64C2 #C2BC64 #6AC264
monochromatic
#51307B #6E42A7 #8D64C2 #AD90D3 #CEBCE5

Accessibility & contrast

On white

4.44
#8D64C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8D64C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64C2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64C2#FFFFFF#000000##000000
##8D64C21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#83758A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d64c2;
/* rgb */ color: rgb(141, 100, 194);
/* oklch */ color: oklch(58.6% 0.144 302.3);
Tailwind
colors: {
  custom: {
    50: '#b191d5',
    500: '#8d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d64c2;
$custom-light: #b191d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64c2",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 266.17,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.14384,
    "h": 302.3
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#8D64C2
secondary
#C3D4AE
accent
#D3559C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D14
muted
#807D83

Preview Lab

Preview with #8D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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