#8D64CC#8D64CC

#8D64CC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.157 H 299.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D64CC
RGBrgb(141, 100, 204)
HSLhsl(264, 50%, 60%)
HSVhsv(264, 51%, 80%)
CMYKcmyk(30.9%, 51%, 0%, 20%)
CIE-LABlab(50.85, 38.26, -48.18)
CIE-LCHlch(50.85, 61.52, 308.45°)
OKLaboklab(59.21% 0.0779 -0.1358)
OKLCHoklch(59.21% 0.157 299.8)
XYZxyz(26.4382, 19.1365, 59.4159)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64CC #A3CC64
analogous
#646FCC #8D64CC #C164CC
triadic
#8D64CC #CC8D64 #64CC8D
tetradic
#8D64CC #CC646F #A3CC64 #64CCC1
square
#8D64CC #CC646F #A3CC64 #64CCC1
split-complementary
#8D64CC #CCC164 #6FCC64
monochromatic
#512D89 #6C3CB7 #8D64CC #AF92DB #D1C0EA

Accessibility & contrast

On white

4.35
#8D64CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64CC#FFFFFF#000000##000000
##8D64CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#4B78CA
Tritanopia (blue-blind)
#80788F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d64cc;
/* rgb */ color: rgb(141, 100, 204);
/* oklch */ color: oklch(59.2% 0.157 299.8);
Tailwind
colors: {
  custom: {
    50: '#b191dc',
    500: '#8d64cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d64cc;
$custom-light: #b191dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64cc",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 263.654,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.15654,
    "h": 299.8
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#8D64CC
secondary
#CADAB2
accent
#DA4EA3
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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