#8B64DC#8B64DC

#8B64DC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.176 H 295.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B64DC
RGBrgb(139, 100, 220)
HSLhsl(260, 63%, 63%)
HSVhsv(260, 55%, 86%)
CMYKcmyk(36.8%, 54.5%, 0%, 13.7%)
CIE-LABlab(51.58, 41.89, -56.13)
CIE-LCHlch(51.58, 70.04, 306.73°)
OKLaboklab(60% 0.0762 -0.1591)
OKLCHoklch(60% 0.176 295.6)
XYZxyz(28.1196, 19.7701, 70.0308)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64DC #B5DC64
analogous
#6479DC #8B64DC #C764DC
triadic
#8B64DC #DC8B64 #64DC8B
tetradic
#8B64DC #DC6479 #B5DC64 #64DCC7
square
#8B64DC #DC6479 #B5DC64 #64DCC7
split-complementary
#8B64DC #DCC764 #79DC64
monochromatic
#4D24A1 #6632D1 #8B64DC #B096E7 #D6C8F3

Accessibility & contrast

On white

4.24
#8B64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64DC#FFFFFF#000000##000000
##8B64DC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#787D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b64dc;
/* rgb */ color: rgb(139, 100, 220);
/* oklch */ color: oklch(60.0% 0.176 295.6);
Tailwind
colors: {
  custom: {
    50: '#b191e7',
    500: '#8b64dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b64dc;
$custom-light: #b191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64dc",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 259.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.17646,
    "h": 295.6
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#8B64DC
secondary
#D5E4B8
accent
#CB1B92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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