#8A64CC#8A64CC

#8A64CC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.9% C 0.156 H 298.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A64CC
RGBrgb(138, 100, 204)
HSLhsl(262, 50%, 60%)
HSVhsv(262, 51%, 80%)
CMYKcmyk(32.4%, 51%, 0%, 20%)
CIE-LABlab(50.54, 37.48, -48.68)
CIE-LCHlch(50.54, 61.44, 307.59°)
OKLaboklab(58.91% 0.0741 -0.1373)
OKLCHoklch(58.91% 0.156 298.3)
XYZxyz(25.9348, 18.8770, 59.3923)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CC #A6CC64
analogous
#6472CC #8A64CC #BE64CC
triadic
#8A64CC #CC8A64 #64CC8A
tetradic
#8A64CC #CC6472 #A6CC64 #64CCBE
square
#8A64CC #CC6472 #A6CC64 #64CCBE
split-complementary
#8A64CC #CCBE64 #72CC64
monochromatic
#4E2D89 #693CB7 #8A64CC #AD92DB #D0C0EA

Accessibility & contrast

On white

4.40
#8A64CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64CC#FFFFFF#000000##000000
##8A64CC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78D0
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#7C788F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a64cc;
/* rgb */ color: rgb(138, 100, 204);
/* oklch */ color: oklch(58.9% 0.156 298.3);
Tailwind
colors: {
  custom: {
    50: '#af91dc',
    500: '#8a64cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a64cc;
$custom-light: #af91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64cc",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 261.923,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.15605,
    "h": 298.3
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#8A64CC
secondary
#CBDAB2
accent
#DA4EA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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