#8D64D1#8D64D1

#8D64D1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.5% C 0.163 H 298.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D64D1
RGBrgb(141, 100, 209)
HSLhsl(263, 54%, 61%)
HSVhsv(263, 52%, 82%)
CMYKcmyk(32.5%, 52.2%, 0%, 18%)
CIE-LABlab(51.13, 39.53, -50.59)
CIE-LCHlch(51.13, 64.20, 308.00°)
OKLaboklab(59.51% 0.0782 -0.1428)
OKLCHoklch(59.51% 0.163 298.7)
XYZxyz(27.0475, 19.3803, 62.6250)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64D1 #A8D164
analogous
#6471D1 #8D64D1 #C464D1
triadic
#8D64D1 #D18D64 #64D18D
tetradic
#8D64D1 #D16471 #A8D164 #64D1C4
square
#8D64D1 #D16471 #A8D164 #64D1C4
split-complementary
#8D64D1 #D1C464 #71D164
monochromatic
#512B90 #6B39BF #8D64D1 #B093DF #D2C2ED

Accessibility & contrast

On white

4.31
#8D64D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D64D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64D1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64D1#FFFFFF#000000##000000
##8D64D11.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD5
Deuteranopia (green-blind)
#4779CE
Tritanopia (blue-blind)
#7F7991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d64d1;
/* rgb */ color: rgb(141, 100, 209);
/* oklch */ color: oklch(59.5% 0.163 298.7);
Tailwind
colors: {
  custom: {
    50: '#b291e0',
    500: '#8d64d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d64d1;
$custom-light: #b291e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64d1",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 209
  },
  "hsl": {
    "h": 262.569,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.16286,
    "h": 298.7
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#8D64D1
secondary
#CEDDB4
accent
#C22486
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D64D1

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

Preview Lab → · Contrast checker → · Palette generator →

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