#8A64CA#8A64CA

#8A64CA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.153 H 298.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A64CA
RGBrgb(138, 100, 202)
HSLhsl(262, 49%, 59%)
HSVhsv(262, 50%, 79%)
CMYKcmyk(31.7%, 50.5%, 0%, 20.8%)
CIE-LABlab(50.43, 36.97, -47.72)
CIE-LCHlch(50.43, 60.36, 307.77°)
OKLaboklab(58.79% 0.0739 -0.1345)
OKLCHoklch(58.79% 0.153 298.8)
XYZxyz(25.6965, 18.7817, 58.1371)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CA #A4CA64
analogous
#6471CA #8A64CA #BD64CA
triadic
#8A64CA #CA8A64 #64CA8A
tetradic
#8A64CA #CA6471 #A4CA64 #64CABD
square
#8A64CA #CA6471 #A4CA64 #64CABD
split-complementary
#8A64CA #CABD64 #71CA64
monochromatic
#4F2E86 #693DB3 #8A64CA #AC92DA #CFBFE9

Accessibility & contrast

On white

4.42
#8A64CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A64CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64CA#FFFFFF#000000##000000
##8A64CA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#7D778E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a64ca;
/* rgb */ color: rgb(138, 100, 202);
/* oklch */ color: oklch(58.8% 0.153 298.8);
Tailwind
colors: {
  custom: {
    50: '#af91db',
    500: '#8a64ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a64ca;
$custom-light: #af91db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64ca",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 262.353,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.15349,
    "h": 298.8
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#8A64CA
secondary
#CAD9B1
accent
#D94FA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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