#8B64DE#8B64DE

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

Color values

HEX#8B64DE
RGBrgb(139, 100, 222)
HSLhsl(259, 65%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(37.4%, 55%, 0%, 12.9%)
CIE-LABlab(51.70, 42.41, -57.06)
CIE-LCHlch(51.70, 71.10, 306.62°)
OKLaboklab(60.13% 0.0763 -0.1619)
OKLCHoklch(60.13% 0.179 295.2)
XYZxyz(28.3860, 19.8767, 71.4341)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64DE #B7DE64
analogous
#647ADE #8B64DE #C864DE
triadic
#8B64DE #DE8B64 #64DE8B
tetradic
#8B64DE #DE647A #B7DE64 #64DEC8
square
#8B64DE #DE647A #B7DE64 #64DEC8
split-complementary
#8B64DE #DEC864 #7ADE64
monochromatic
#4C23A5 #6532D3 #8B64DE #B196E9 #D7C9F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B64DE#FFFFFF#000000##000000
##8B64DE1.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)
#2B7CE2
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#777D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b64de;
/* rgb */ color: rgb(139, 100, 222);
/* oklch */ color: oklch(60.1% 0.179 295.2);
Tailwind
colors: {
  custom: {
    50: '#b191e9',
    500: '#8b64de',
    950: '#000000',
  },
}
SCSS
$custom: #8b64de;
$custom-light: #b191e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64de",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 259.18,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.17896,
    "h": 295.2
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

primary
#8B64DE
secondary
#D7E5B9
accent
#CD1993
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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