#8A64CE#8A64CE

#8A64CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.159 H 297.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A64CE
RGBrgb(138, 100, 206)
HSLhsl(262, 52%, 60%)
HSVhsv(262, 51%, 81%)
CMYKcmyk(33%, 51.5%, 0%, 19.2%)
CIE-LABlab(50.66, 38.00, -49.65)
CIE-LCHlch(50.66, 62.52, 307.43°)
OKLaboklab(59.03% 0.0743 -0.1402)
OKLCHoklch(59.03% 0.159 297.9)
XYZxyz(26.1763, 18.9735, 60.6637)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CE #A8CE64
analogous
#6473CE #8A64CE #BF64CE
triadic
#8A64CE #CE8A64 #64CE8A
tetradic
#8A64CE #CE6473 #A8CE64 #64CEBF
square
#8A64CE #CE6473 #A8CE64 #64CEBF
split-complementary
#8A64CE #CEBF64 #73CE64
monochromatic
#4E2C8C #683BBA #8A64CE #AD92DD #D0C1EB

Accessibility & contrast

On white

4.38
#8A64CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A64CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64CE#FFFFFF#000000##000000
##8A64CE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D2
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#7B7990
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64ce;
/* rgb */ color: rgb(138, 100, 206);
/* oklch */ color: oklch(59.0% 0.159 297.9);
Tailwind
colors: {
  custom: {
    50: '#af91dd',
    500: '#8a64ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a64ce;
$custom-light: #af91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64ce",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 261.509,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.15861,
    "h": 297.9
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#8A64CE
secondary
#CDDBB2
accent
#DB4CA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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