#8B64DD#8B64DD

#8B64DD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.178 H 295.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8B64DD
RGBrgb(139, 100, 221)
HSLhsl(259, 64%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(37.1%, 54.8%, 0%, 13.3%)
CIE-LABlab(51.64, 42.15, -56.60)
CIE-LCHlch(51.64, 70.57, 306.68°)
OKLaboklab(60.07% 0.0763 -0.1605)
OKLCHoklch(60.07% 0.178 295.4)
XYZxyz(28.2524, 19.8232, 70.7303)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64DD #B6DD64
analogous
#6479DD #8B64DD #C764DD
triadic
#8B64DD #DD8B64 #64DD8B
tetradic
#8B64DD #DD6479 #B6DD64 #64DDC7
square
#8B64DD #DD6479 #B6DD64 #64DDC7
split-complementary
#8B64DD #DDC764 #79DD64
monochromatic
#4D24A3 #6532D2 #8B64DD #B196E8 #D6C8F3

Accessibility & contrast

On white

4.23
#8B64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8B64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64DD#FFFFFF#000000##000000
##8B64DD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#777D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b64dd;
/* rgb */ color: rgb(139, 100, 221);
/* oklch */ color: oklch(60.1% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#b191e8',
    500: '#8b64dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b64dd;
$custom-light: #b191e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64dd",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 259.339,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.17771,
    "h": 295.4
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#8B64DD
secondary
#D6E4B9
accent
#CC1A92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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