#8A64D0#8A64D0

#8A64D0 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.161 H 297.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A64D0
RGBrgb(138, 100, 208)
HSLhsl(261, 53%, 60%)
HSVhsv(261, 52%, 82%)
CMYKcmyk(33.7%, 51.9%, 0%, 18.4%)
CIE-LABlab(50.77, 38.51, -50.61)
CIE-LCHlch(50.77, 63.59, 307.27°)
OKLaboklab(59.16% 0.0744 -0.143)
OKLCHoklch(59.16% 0.161 297.5)
XYZxyz(26.4208, 19.0713, 61.9514)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D0 #AAD064
analogous
#6474D0 #8A64D0 #C064D0
triadic
#8A64D0 #D08A64 #64D08A
tetradic
#8A64D0 #D06474 #AAD064 #64D0C0
square
#8A64D0 #D06474 #AAD064 #64D0C0
split-complementary
#8A64D0 #D0C064 #74D064
monochromatic
#4E2B8E #6839BD #8A64D0 #AD93DE #D1C2EC

Accessibility & contrast

On white

4.36
#8A64D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A64D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D0#FFFFFF#000000##000000
##8A64D01.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D4
Deuteranopia (green-blind)
#4578CD
Tritanopia (blue-blind)
#7B7990
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64d0;
/* rgb */ color: rgb(138, 100, 208);
/* oklch */ color: oklch(59.2% 0.161 297.5);
Tailwind
colors: {
  custom: {
    50: '#af91df',
    500: '#8a64d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d0;
$custom-light: #af91df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d0",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 261.111,
    "s": 53.465,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.16117,
    "h": 297.5
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#8A64D0
secondary
#CEDDB3
accent
#C1258A
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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