#8D64DB#8D64DB

#8D64DB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.175 H 296.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D64DB
RGBrgb(141, 100, 219)
HSLhsl(261, 62%, 63%)
HSVhsv(261, 54%, 86%)
CMYKcmyk(35.6%, 54.3%, 0%, 14.1%)
CIE-LABlab(51.71, 42.10, -55.33)
CIE-LCHlch(51.71, 69.53, 307.27°)
OKLaboklab(60.13% 0.0787 -0.1567)
OKLCHoklch(60.13% 0.175 296.7)
XYZxyz(28.3246, 19.8911, 69.3512)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64DB #B2DB64
analogous
#6477DB #8D64DB #C864DB
triadic
#8D64DB #DB8D64 #64DB8D
tetradic
#8D64DB #DB6477 #B2DB64 #64DBC8
square
#8D64DB #DB6477 #B2DB64 #64DBC8
split-complementary
#8D64DB #DBC864 #77DB64
monochromatic
#4F25A0 #6832CF #8D64DB #B296E7 #D6C7F2

Accessibility & contrast

On white

4.22
#8D64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8D64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64DB#FFFFFF#000000##000000
##8D64DB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#7B7C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d64db;
/* rgb */ color: rgb(141, 100, 219);
/* oklch */ color: oklch(60.1% 0.175 296.7);
Tailwind
colors: {
  custom: {
    50: '#b291e7',
    500: '#8d64db',
    950: '#000000',
  },
}
SCSS
$custom: #8d64db;
$custom-light: #b291e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64db",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 260.672,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.1754,
    "h": 296.7
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#8D64DB
secondary
#D4E3B8
accent
#CA1B8E
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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