#8A64D8#8A64D8

#8A64D8 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.171 H 295.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A64D8
RGBrgb(138, 100, 216)
HSLhsl(260, 60%, 62%)
HSVhsv(260, 54%, 85%)
CMYKcmyk(36.1%, 53.7%, 0%, 15.3%)
CIE-LABlab(51.24, 40.60, -54.41)
CIE-LCHlch(51.24, 67.89, 306.73°)
OKLaboklab(59.65% 0.0748 -0.1541)
OKLCHoklch(59.65% 0.171 295.9)
XYZxyz(27.4299, 19.4750, 67.2663)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D8 #B2D864
analogous
#6478D8 #8A64D8 #C464D8
triadic
#8A64D8 #D88A64 #64D88A
tetradic
#8A64D8 #D86478 #B2D864 #64D8C4
square
#8A64D8 #D86478 #B2D864 #64D8C4
split-complementary
#8A64D8 #D8C464 #78D864
monochromatic
#4D279B #6533CC #8A64D8 #AF95E4 #D4C6F1

Accessibility & contrast

On white

4.29
#8A64D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A64D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D8#FFFFFF#000000##000000
##8A64D81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#787C94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a64d8;
/* rgb */ color: rgb(138, 100, 216);
/* oklch */ color: oklch(59.7% 0.171 295.9);
Tailwind
colors: {
  custom: {
    50: '#b091e5',
    500: '#8a64d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d8;
$custom-light: #b091e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d8",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 259.655,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.17132,
    "h": 295.9
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#8A64D8
secondary
#D3E1B7
accent
#C71E90
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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