#8A64BA#8A64BA

#8A64BA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.133 H 302.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A64BA
RGBrgb(138, 100, 186)
HSLhsl(267, 38%, 56%)
HSVhsv(267, 46%, 73%)
CMYKcmyk(25.8%, 46.2%, 0%, 27.1%)
CIE-LABlab(49.57, 32.95, -39.87)
CIE-LCHlch(49.57, 51.72, 309.57°)
OKLaboklab(57.87% 0.0721 -0.1116)
OKLCHoklch(57.87% 0.133 302.9)
XYZxyz(23.8994, 18.0628, 48.6722)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BA #94BA64
analogous
#6469BA #8A64BA #B564BA
triadic
#8A64BA #BA8A64 #64BA8A
tetradic
#8A64BA #BA6469 #94BA64 #64BAB5
square
#8A64BA #BA6469 #94BA64 #64BAB5
split-complementary
#8A64BA #BAB564 #69BA64
monochromatic
#4E3271 #6B459C #8A64BA #AA8ECD #CAB9E0

Accessibility & contrast

On white

4.55
#8A64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A64BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BA#FFFFFF#000000##000000
##8A64BA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#827386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64ba;
/* rgb */ color: rgb(138, 100, 186);
/* oklch */ color: oklch(57.9% 0.133 302.9);
Tailwind
colors: {
  custom: {
    50: '#ae91cf',
    500: '#8a64ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a64ba;
$custom-light: #ae91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64ba",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 266.512,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.13287,
    "h": 302.9
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#8A64BA
secondary
#BFCFAB
accent
#CE599B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #8A64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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