#8A64CF#8A64CF

#8A64CF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.160 H 297.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A64CF
RGBrgb(138, 100, 207)
HSLhsl(261, 53%, 60%)
HSVhsv(261, 52%, 81%)
CMYKcmyk(33.3%, 51.7%, 0%, 18.8%)
CIE-LABlab(50.71, 38.25, -50.13)
CIE-LCHlch(50.71, 63.06, 307.35°)
OKLaboklab(59.09% 0.0743 -0.1416)
OKLCHoklch(59.09% 0.16 297.7)
XYZxyz(26.2981, 19.0223, 61.3055)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CF #A9CF64
analogous
#6474CF #8A64CF #BF64CF
triadic
#8A64CF #CF8A64 #64CF8A
tetradic
#8A64CF #CF6474 #A9CF64 #64CFBF
square
#8A64CF #CF6474 #A9CF64 #64CFBF
split-complementary
#8A64CF #CFBF64 #74CF64
monochromatic
#4E2C8D #683ABC #8A64CF #AD93DD #D1C1EC

Accessibility & contrast

On white

4.37
#8A64CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64CF#FFFFFF#000000##000000
##8A64CF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#7B7990
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64cf;
/* rgb */ color: rgb(138, 100, 207);
/* oklch */ color: oklch(59.1% 0.160 297.7);
Tailwind
colors: {
  custom: {
    50: '#af91de',
    500: '#8a64cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a64cf;
$custom-light: #af91de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64cf",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 261.308,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.15989,
    "h": 297.7
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#8A64CF
secondary
#CDDCB3
accent
#C02589
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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