#8A64C4#8A64C4

#8A64C4 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.4% C 0.146 H 300.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A64C4
RGBrgb(138, 100, 196)
HSLhsl(264, 45%, 58%)
HSVhsv(264, 49%, 77%)
CMYKcmyk(29.6%, 49%, 0%, 23.1%)
CIE-LABlab(50.10, 35.44, -44.80)
CIE-LCHlch(50.10, 57.12, 308.35°)
OKLaboklab(58.44% 0.0734 -0.126)
OKLCHoklch(58.44% 0.146 300.2)
XYZxyz(24.9999, 18.5030, 54.4682)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64C4 #9EC464
analogous
#646EC4 #8A64C4 #BA64C4
triadic
#8A64C4 #C48A64 #64C48A
tetradic
#8A64C4 #C4646E #9EC464 #64C4BA
square
#8A64C4 #C4646E #9EC464 #64C4BA
split-complementary
#8A64C4 #C4BA64 #6EC464
monochromatic
#4F307E #6A41AA #8A64C4 #AB90D5 #CDBDE6

Accessibility & contrast

On white

4.47
#8A64C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A64C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64C4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64C4#FFFFFF#000000##000000
##8A64C41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4577C7
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#7F768B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a64c4;
/* rgb */ color: rgb(138, 100, 196);
/* oklch */ color: oklch(58.4% 0.146 300.2);
Tailwind
colors: {
  custom: {
    50: '#af91d6',
    500: '#8a64c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a64c4;
$custom-light: #af91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64c4",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 196
  },
  "hsl": {
    "h": 263.75,
    "s": 44.86,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.14578,
    "h": 300.2
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#8A64C4
secondary
#C6D5AF
accent
#D553A1
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110D14
muted
#807D83

Preview Lab

Preview with #8A64C4

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

Preview Lab → · Contrast checker → · Palette generator →

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