#8A64CD#8A64CD

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

Color values

HEX#8A64CD
RGBrgb(138, 100, 205)
HSLhsl(262, 51%, 60%)
HSVhsv(262, 51%, 80%)
CMYKcmyk(32.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(50.60, 37.74, -49.17)
CIE-LCHlch(50.60, 61.98, 307.51°)
OKLaboklab(58.97% 0.0742 -0.1388)
OKLCHoklch(58.97% 0.157 298.1)
XYZxyz(26.0552, 18.9251, 60.0260)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64CD #A7CD64
analogous
#6473CD #8A64CD #BE64CD
triadic
#8A64CD #CD8A64 #64CD8A
tetradic
#8A64CD #CD6473 #A7CD64 #64CDBE
square
#8A64CD #CD6473 #A7CD64 #64CDBE
split-complementary
#8A64CD #CDBE64 #73CD64
monochromatic
#4E2D8A #693BB8 #8A64CD #AD92DC #D0C1EB

Accessibility & contrast

On white

4.39
#8A64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A64CD#FFFFFF#000000##000000
##8A64CD1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#7C788F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a64cd;
/* rgb */ color: rgb(138, 100, 205);
/* oklch */ color: oklch(59.0% 0.157 298.1);
Tailwind
colors: {
  custom: {
    50: '#af91dd',
    500: '#8a64cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a64cd;
$custom-light: #af91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64cd",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 261.714,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.15733,
    "h": 298.1
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#8A64CD
secondary
#CCDBB2
accent
#DB4DA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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