#8A64DC#8A64DC

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

Color values

HEX#8A64DC
RGBrgb(138, 100, 220)
HSLhsl(259, 63%, 63%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(37.3%, 54.5%, 0%, 13.7%)
CIE-LABlab(51.48, 41.65, -56.29)
CIE-LCHlch(51.48, 70.03, 306.50°)
OKLaboklab(59.91% 0.075 -0.1596)
OKLCHoklch(59.91% 0.176 295.2)
XYZxyz(27.9533, 19.6844, 70.0230)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DC #B6DC64
analogous
#647ADC #8A64DC #C664DC
triadic
#8A64DC #DC8A64 #64DC8A
tetradic
#8A64DC #DC647A #B6DC64 #64DCC6
square
#8A64DC #DC647A #B6DC64 #64DCC6
split-complementary
#8A64DC #DCC664 #7ADC64
monochromatic
#4C24A1 #6432D1 #8A64DC #B096E7 #D5C8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A64DC#FFFFFF#000000##000000
##8A64DC1.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)
#2D7CE0
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#767D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64dc;
/* rgb */ color: rgb(138, 100, 220);
/* oklch */ color: oklch(59.9% 0.176 295.2);
Tailwind
colors: {
  custom: {
    50: '#b091e7',
    500: '#8a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a64dc;
$custom-light: #b091e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64dc",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 259,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.17637,
    "h": 295.2
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#8A64DC
secondary
#D6E4B8
accent
#CB1B93
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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