#8D64D8#8D64D8

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

Color values

HEX#8D64D8
RGBrgb(141, 100, 216)
HSLhsl(261, 60%, 62%)
HSVhsv(261, 54%, 85%)
CMYKcmyk(34.7%, 53.7%, 0%, 15.3%)
CIE-LABlab(51.54, 41.33, -53.92)
CIE-LCHlch(51.54, 67.93, 307.47°)
OKLaboklab(59.94% 0.0786 -0.1526)
OKLCHoklch(59.94% 0.172 297.3)
XYZxyz(27.9333, 19.7345, 67.2899)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D8 #AFD864
analogous
#6475D8 #8D64D8 #C764D8
triadic
#8D64D8 #D88D64 #64D88D
tetradic
#8D64D8 #D86475 #AFD864 #64D8C7
square
#8D64D8 #D86475 #AFD864 #64D8C7
split-complementary
#8D64D8 #D8C764 #75D864
monochromatic
#50279B #6933CC #8D64D8 #B195E4 #D5C6F1

Accessibility & contrast

On white

4.24
#8D64D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D64D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D8#FFFFFF#000000##000000
##8D64D81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#7C7B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d64d8;
/* rgb */ color: rgb(141, 100, 216);
/* oklch */ color: oklch(59.9% 0.172 297.3);
Tailwind
colors: {
  custom: {
    50: '#b291e5',
    500: '#8d64d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d8;
$custom-light: #b291e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d8",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 261.207,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.17165,
    "h": 297.3
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#8D64D8
secondary
#D2E1B7
accent
#C71E8C
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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