#8D64D9#8D64D9

#8D64D9 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.173 H 297.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D64D9
RGBrgb(141, 100, 217)
HSLhsl(261, 61%, 62%)
HSVhsv(261, 54%, 85%)
CMYKcmyk(35%, 53.9%, 0%, 14.9%)
CIE-LABlab(51.59, 41.58, -54.39)
CIE-LCHlch(51.59, 68.46, 307.40°)
OKLaboklab(60.01% 0.0787 -0.154)
OKLCHoklch(60.01% 0.173 297.1)
XYZxyz(28.0629, 19.7864, 67.9728)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D9 #B0D964
analogous
#6475D9 #8D64D9 #C864D9
triadic
#8D64D9 #D98D64 #64D98D
tetradic
#8D64D9 #D96475 #B0D964 #64D9C8
square
#8D64D9 #D96475 #B0D964 #64D9C8
split-complementary
#8D64D9 #D9C864 #75D964
monochromatic
#50269C #6933CD #8D64D9 #B195E5 #D5C6F1

Accessibility & contrast

On white

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

On black

4.96
#8D64D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D9#FFFFFF#000000##000000
##8D64D91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDD
Deuteranopia (green-blind)
#3F7AD6
Tritanopia (blue-blind)
#7C7C95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d64d9;
/* rgb */ color: rgb(141, 100, 217);
/* oklch */ color: oklch(60.0% 0.173 297.1);
Tailwind
colors: {
  custom: {
    50: '#b291e5',
    500: '#8d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d9;
$custom-light: #b291e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d9",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 261.026,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.17291,
    "h": 297.1
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#8D64D9
secondary
#D3E2B7
accent
#C81D8C
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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