#8D64CD#8D64CD

#8D64CD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.3% C 0.158 H 299.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D64CD
RGBrgb(141, 100, 205)
HSLhsl(263, 51%, 60%)
HSVhsv(263, 51%, 80%)
CMYKcmyk(31.2%, 51.2%, 0%, 19.6%)
CIE-LABlab(50.90, 38.51, -48.66)
CIE-LCHlch(50.90, 62.06, 308.36°)
OKLaboklab(59.27% 0.078 -0.1372)
OKLCHoklch(59.27% 0.158 299.6)
XYZxyz(26.5585, 19.1846, 60.0496)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64CD #A4CD64
analogous
#646FCD #8D64CD #C264CD
triadic
#8D64CD #CD8D64 #64CD8D
tetradic
#8D64CD #CD646F #A4CD64 #64CDC2
square
#8D64CD #CD646F #A4CD64 #64CDC2
split-complementary
#8D64CD #CDC264 #6FCD64
monochromatic
#512D8A #6C3BB8 #8D64CD #AF92DC #D1C1EB

Accessibility & contrast

On white

4.34
#8D64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64CD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64CD#FFFFFF#000000##000000
##8D64CD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#80788F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d64cd;
/* rgb */ color: rgb(141, 100, 205);
/* oklch */ color: oklch(59.3% 0.158 299.6);
Tailwind
colors: {
  custom: {
    50: '#b191dd',
    500: '#8d64cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d64cd;
$custom-light: #b191dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64cd",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 263.429,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.1578,
    "h": 299.6
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#8D64CD
secondary
#CBDBB2
accent
#DB4DA3
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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