#8A64D4#8A64D4

#8A64D4 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.4% C 0.166 H 296.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A64D4
RGBrgb(138, 100, 212)
HSLhsl(260, 57%, 61%)
HSVhsv(260, 53%, 83%)
CMYKcmyk(34.9%, 52.8%, 0%, 16.9%)
CIE-LABlab(51.00, 39.55, -52.51)
CIE-LCHlch(51.00, 65.74, 306.99°)
OKLaboklab(59.4% 0.0746 -0.1486)
OKLCHoklch(59.4% 0.166 296.7)
XYZxyz(26.9191, 19.2707, 64.5760)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64D4 #AED464
analogous
#6476D4 #8A64D4 #C264D4
triadic
#8A64D4 #D48A64 #64D48A
tetradic
#8A64D4 #D46476 #AED464 #64D4C2
square
#8A64D4 #D46476 #AED464 #64D4C2
split-complementary
#8A64D4 #D4C264 #76D464
monochromatic
#4E2994 #6736C4 #8A64D4 #AE94E1 #D2C4EF

Accessibility & contrast

On white

4.33
#8A64D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A64D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64D4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64D4#FFFFFF#000000##000000
##8A64D41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#797A92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a64d4;
/* rgb */ color: rgb(138, 100, 212);
/* oklch */ color: oklch(59.4% 0.166 296.7);
Tailwind
colors: {
  custom: {
    50: '#b091e2',
    500: '#8a64d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a64d4;
$custom-light: #b091e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64d4",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 260.357,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.16625,
    "h": 296.7
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#8A64D4
secondary
#D1DFB5
accent
#C4218D
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A64D4

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

Preview Lab → · Contrast checker → · Palette generator →

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