#8B64DB#8B64DB

#8B64DB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.175 H 295.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B64DB
RGBrgb(139, 100, 219)
HSLhsl(260, 62%, 63%)
HSVhsv(260, 54%, 86%)
CMYKcmyk(36.5%, 54.3%, 0%, 14.1%)
CIE-LABlab(51.52, 41.63, -55.66)
CIE-LCHlch(51.52, 69.50, 306.79°)
OKLaboklab(59.94% 0.0762 -0.1578)
OKLCHoklch(59.94% 0.175 295.8)
XYZxyz(27.9875, 19.7173, 69.3354)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64DB #B4DB64
analogous
#6478DB #8B64DB #C764DB
triadic
#8B64DB #DB8B64 #64DB8B
tetradic
#8B64DB #DB6478 #B4DB64 #64DBC7
square
#8B64DB #DB6478 #B4DB64 #64DBC7
split-complementary
#8B64DB #DBC764 #78DB64
monochromatic
#4D25A0 #6632CF #8B64DB #B096E7 #D5C7F2

Accessibility & contrast

On white

4.25
#8B64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8B64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64DB#FFFFFF#000000##000000
##8B64DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#787C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b64db;
/* rgb */ color: rgb(139, 100, 219);
/* oklch */ color: oklch(59.9% 0.175 295.8);
Tailwind
colors: {
  custom: {
    50: '#b191e7',
    500: '#8b64db',
    950: '#000000',
  },
}
SCSS
$custom: #8b64db;
$custom-light: #b191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64db",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 259.664,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59939,
    "c": 0.1752,
    "h": 295.8
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#8B64DB
secondary
#D5E3B8
accent
#CA1B91
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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