#8A64D7#8A64D7

#8A64D7 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.170 H 296.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A64D7
RGBrgb(138, 100, 215)
HSLhsl(260, 59%, 62%)
HSVhsv(260, 53%, 84%)
CMYKcmyk(35.8%, 53.5%, 0%, 15.7%)
CIE-LABlab(51.18, 40.34, -53.94)
CIE-LCHlch(51.18, 67.35, 306.79°)
OKLaboklab(59.59% 0.0748 -0.1527)
OKLCHoklch(59.59% 0.17 296.1)
XYZxyz(27.3010, 19.4235, 66.5875)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D7 #B1D764
analogous
#6478D7 #8A64D7 #C464D7
triadic
#8A64D7 #D78A64 #64D78A
tetradic
#8A64D7 #D76478 #B1D764 #64D7C4
square
#8A64D7 #D76478 #B1D764 #64D7C4
split-complementary
#8A64D7 #D7C464 #78D764
monochromatic
#4D2899 #6634CA #8A64D7 #AF95E4 #D3C5F0

Accessibility & contrast

On white

4.30
#8A64D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A64D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D7#FFFFFF#000000##000000
##8A64D71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#787B94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a64d7;
/* rgb */ color: rgb(138, 100, 215);
/* oklch */ color: oklch(59.6% 0.170 296.1);
Tailwind
colors: {
  custom: {
    50: '#b091e4',
    500: '#8a64d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d7;
$custom-light: #b091e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d7",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 259.826,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.17006,
    "h": 296.1
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#8A64D7
secondary
#D3E1B6
accent
#C71F8F
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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