#8A64D9#8A64D9

#8A64D9 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.173 H 295.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A64D9
RGBrgb(138, 100, 217)
HSLhsl(259, 61%, 62%)
HSVhsv(259, 54%, 85%)
CMYKcmyk(36.4%, 53.9%, 0%, 14.9%)
CIE-LABlab(51.30, 40.86, -54.88)
CIE-LCHlch(51.30, 68.42, 306.67°)
OKLaboklab(59.72% 0.0749 -0.1555)
OKLCHoklch(59.72% 0.173 295.7)
XYZxyz(27.5596, 19.5269, 67.9492)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D9 #B3D964
analogous
#6479D9 #8A64D9 #C564D9
triadic
#8A64D9 #D98A64 #64D98A
tetradic
#8A64D9 #D96479 #B3D964 #64D9C5
square
#8A64D9 #D96479 #B3D964 #64D9C5
split-complementary
#8A64D9 #D9C564 #79D964
monochromatic
#4D269C #6533CD #8A64D9 #AF95E5 #D4C6F1

Accessibility & contrast

On white

4.28
#8A64D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A64D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D9#FFFFFF#000000##000000
##8A64D91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDD
Deuteranopia (green-blind)
#3C79D6
Tritanopia (blue-blind)
#777C95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a64d9;
/* rgb */ color: rgb(138, 100, 217);
/* oklch */ color: oklch(59.7% 0.173 295.7);
Tailwind
colors: {
  custom: {
    50: '#b091e5',
    500: '#8a64d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d9;
$custom-light: #b091e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d9",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 259.487,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.17259,
    "h": 295.7
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#8A64D9
secondary
#D4E2B7
accent
#C81D91
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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