#8B64DF#8B64DF

#8B64DF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.180 H 295.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B64DF
RGBrgb(139, 100, 223)
HSLhsl(259, 66%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(37.7%, 55.2%, 0%, 12.5%)
CIE-LABlab(51.76, 42.68, -57.53)
CIE-LCHlch(51.76, 71.63, 306.57°)
OKLaboklab(60.2% 0.0763 -0.1633)
OKLCHoklch(60.2% 0.18 295.1)
XYZxyz(28.5205, 19.9305, 72.1421)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B64DF #B8DF64
analogous
#647ADF #8B64DF #C864DF
triadic
#8B64DF #DF8B64 #64DF8B
tetradic
#8B64DF #DF647A #B8DF64 #64DFC8
square
#8B64DF #DF647A #B8DF64 #64DFC8
split-complementary
#8B64DF #DFC864 #7ADF64
monochromatic
#4C22A6 #6531D5 #8B64DF #B197E9 #D7C9F4

Accessibility & contrast

On white

4.21
#8B64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8B64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B64DF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B64DF#FFFFFF#000000##000000
##8B64DF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#767E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b64df;
/* rgb */ color: rgb(139, 100, 223);
/* oklch */ color: oklch(60.2% 0.180 295.1);
Tailwind
colors: {
  custom: {
    50: '#b191ea',
    500: '#8b64df',
    950: '#000000',
  },
}
SCSS
$custom: #8b64df;
$custom-light: #b191ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b64df",
  "rgb": {
    "r": 139,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 259.024,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.18021,
    "h": 295.1
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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