#8D64DD#8D64DD

#8D64DD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.178 H 296.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D64DD
RGBrgb(141, 100, 221)
HSLhsl(260, 64%, 63%)
HSVhsv(260, 55%, 87%)
CMYKcmyk(36.2%, 54.8%, 0%, 13.3%)
CIE-LABlab(51.83, 42.62, -56.27)
CIE-LCHlch(51.83, 70.59, 307.14°)
OKLaboklab(60.26% 0.0788 -0.1595)
OKLCHoklch(60.26% 0.178 296.3)
XYZxyz(28.5895, 19.9970, 70.7461)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64DD #B4DD64
analogous
#6477DD #8D64DD #CA64DD
triadic
#8D64DD #DD8D64 #64DD8D
tetradic
#8D64DD #DD6477 #B4DD64 #64DDCA
square
#8D64DD #DD6477 #B4DD64 #64DDCA
split-complementary
#8D64DD #DDCA64 #77DD64
monochromatic
#4F24A3 #6832D2 #8D64DD #B296E8 #D7C8F3

Accessibility & contrast

On white

4.20
#8D64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64DD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64DD#FFFFFF#000000##000000
##8D64DD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#7A7D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d64dd;
/* rgb */ color: rgb(141, 100, 221);
/* oklch */ color: oklch(60.3% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#b391e8',
    500: '#8d64dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d64dd;
$custom-light: #b391e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64dd",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 260.331,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.1779,
    "h": 296.3
  },
  "luminance": 0.19998
}

Semantic roles & 50–950 ramp

primary
#8D64DD
secondary
#D5E4B9
accent
#CC1A8F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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