#8D64D4#8D64D4

#8D64D4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.167 H 298.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D64D4
RGBrgb(141, 100, 212)
HSLhsl(262, 57%, 61%)
HSVhsv(262, 53%, 83%)
CMYKcmyk(33.5%, 52.8%, 0%, 16.9%)
CIE-LABlab(51.30, 40.30, -52.02)
CIE-LCHlch(51.30, 65.80, 307.76°)
OKLaboklab(59.69% 0.0784 -0.147)
OKLCHoklch(59.69% 0.167 298.1)
XYZxyz(27.4224, 19.5302, 64.5996)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D4 #ABD464
analogous
#6473D4 #8D64D4 #C564D4
triadic
#8D64D4 #D48D64 #64D48D
tetradic
#8D64D4 #D46473 #ABD464 #64D4C5
square
#8D64D4 #D46473 #ABD464 #64D4C5
split-complementary
#8D64D4 #D4C564 #73D464
monochromatic
#502994 #6A36C4 #8D64D4 #B094E1 #D3C4EF

Accessibility & contrast

On white

4.28
#8D64D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D64D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D4#FFFFFF#000000##000000
##8D64D41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#7E7A92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d64d4;
/* rgb */ color: rgb(141, 100, 212);
/* oklch */ color: oklch(59.7% 0.167 298.1);
Tailwind
colors: {
  custom: {
    50: '#b291e2',
    500: '#8d64d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d4;
$custom-light: #b291e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d4",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 261.964,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.16663,
    "h": 298.1
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#8D64D4
secondary
#D0DFB5
accent
#C42189
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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