#8D64DF#8D64DF

#8D64DF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.4% C 0.180 H 295.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D64DF
RGBrgb(141, 100, 223)
HSLhsl(260, 66%, 63%)
HSVhsv(260, 55%, 87%)
CMYKcmyk(36.8%, 55.2%, 0%, 12.5%)
CIE-LABlab(51.95, 43.15, -57.21)
CIE-LCHlch(51.95, 71.65, 307.02°)
OKLaboklab(60.39% 0.0788 -0.1622)
OKLCHoklch(60.39% 0.18 295.9)
XYZxyz(28.8575, 20.1043, 72.1579)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64DF #B6DF64
analogous
#6478DF #8D64DF #CA64DF
triadic
#8D64DF #DF8D64 #64DF8D
tetradic
#8D64DF #DF6478 #B6DF64 #64DFCA
square
#8D64DF #DF6478 #B6DF64 #64DFCA
split-complementary
#8D64DF #DFCA64 #78DF64
monochromatic
#4E22A6 #6831D5 #8D64DF #B297E9 #D8C9F4

Accessibility & contrast

On white

4.18
#8D64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8D64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64DF#FFFFFF#000000##000000
##8D64DF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#797D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64df;
/* rgb */ color: rgb(141, 100, 223);
/* oklch */ color: oklch(60.4% 0.180 295.9);
Tailwind
colors: {
  custom: {
    50: '#b391ea',
    500: '#8d64df',
    950: '#000000',
  },
}
SCSS
$custom: #8d64df;
$custom-light: #b391ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64df",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.18039,
    "h": 295.9
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#8D64DF
secondary
#D7E5B9
accent
#CE1891
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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