#8A64DA#8A64DA

#8A64DA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.174 H 295.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A64DA
RGBrgb(138, 100, 218)
HSLhsl(259, 61%, 62%)
HSVhsv(259, 54%, 85%)
CMYKcmyk(36.7%, 54.1%, 0%, 14.5%)
CIE-LABlab(51.36, 41.12, -55.35)
CIE-LCHlch(51.36, 68.96, 306.61°)
OKLaboklab(59.78% 0.0749 -0.1569)
OKLCHoklch(59.78% 0.174 295.5)
XYZxyz(27.6900, 19.5791, 68.6363)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DA #B4DA64
analogous
#6479DA #8A64DA #C564DA
triadic
#8A64DA #DA8A64 #64DA8A
tetradic
#8A64DA #DA6479 #B4DA64 #64DAC5
square
#8A64DA #DA6479 #B4DA64 #64DAC5
split-complementary
#8A64DA #DAC564 #79DA64
monochromatic
#4C269E #6533CE #8A64DA #AF95E6 #D5C7F2

Accessibility & contrast

On white

4.27
#8A64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64DA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64DA#FFFFFF#000000##000000
##8A64DA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#307BDE
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#777C95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a64da;
/* rgb */ color: rgb(138, 100, 218);
/* oklch */ color: oklch(59.8% 0.174 295.5);
Tailwind
colors: {
  custom: {
    50: '#b091e6',
    500: '#8a64da',
    950: '#000000',
  },
}
SCSS
$custom: #8a64da;
$custom-light: #b091e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64da",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 259.322,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.17385,
    "h": 295.5
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#8A64DA
secondary
#D5E2B7
accent
#C91C92
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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