#8A64DB#8A64DB

#8A64DB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.175 H 295.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A64DB
RGBrgb(138, 100, 219)
HSLhsl(259, 62%, 63%)
HSVhsv(259, 54%, 86%)
CMYKcmyk(37%, 54.3%, 0%, 14.1%)
CIE-LABlab(51.42, 41.39, -55.82)
CIE-LCHlch(51.42, 69.49, 306.55°)
OKLaboklab(59.84% 0.0749 -0.1583)
OKLCHoklch(59.84% 0.175 295.3)
XYZxyz(27.8213, 19.6316, 69.3276)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DB #B5DB64
analogous
#6479DB #8A64DB #C664DB
triadic
#8A64DB #DB8A64 #64DB8A
tetradic
#8A64DB #DB6479 #B5DB64 #64DBC6
square
#8A64DB #DB6479 #B5DB64 #64DBC6
split-complementary
#8A64DB #DBC664 #79DB64
monochromatic
#4C25A0 #6532CF #8A64DB #AF96E7 #D5C7F2

Accessibility & contrast

On white

4.26
#8A64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64DB#FFFFFF#000000##000000
##8A64DB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#3979D8
Tritanopia (blue-blind)
#767C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a64db;
/* rgb */ color: rgb(138, 100, 219);
/* oklch */ color: oklch(59.8% 0.175 295.3);
Tailwind
colors: {
  custom: {
    50: '#b091e7',
    500: '#8a64db',
    950: '#000000',
  },
}
SCSS
$custom: #8a64db;
$custom-light: #b091e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64db",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 259.16,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.17511,
    "h": 295.3
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#8A64DB
secondary
#D5E3B8
accent
#CA1B92
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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