#8A64DD#8A64DD

#8A64DD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.178 H 295.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A64DD
RGBrgb(138, 100, 221)
HSLhsl(259, 64%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(37.6%, 54.8%, 0%, 13.3%)
CIE-LABlab(51.54, 41.92, -56.76)
CIE-LCHlch(51.54, 70.56, 306.45°)
OKLaboklab(59.97% 0.075 -0.161)
OKLCHoklch(59.97% 0.178 295)
XYZxyz(28.0862, 19.7375, 70.7226)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DD #B7DD64
analogous
#647ADD #8A64DD #C664DD
triadic
#8A64DD #DD8A64 #64DD8A
tetradic
#8A64DD #DD647A #B7DD64 #64DDC6
square
#8A64DD #DD647A #B7DD64 #64DDC6
split-complementary
#8A64DD #DDC664 #7ADD64
monochromatic
#4C24A3 #6432D2 #8A64DD #B096E8 #D6C8F3

Accessibility & contrast

On white

4.24
#8A64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64DD#FFFFFF#000000##000000
##8A64DD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#767D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64dd;
/* rgb */ color: rgb(138, 100, 221);
/* oklch */ color: oklch(60.0% 0.178 295.0);
Tailwind
colors: {
  custom: {
    50: '#b191e8',
    500: '#8a64dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a64dd;
$custom-light: #b191e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64dd",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 258.843,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.17763,
    "h": 295
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#8A64DD
secondary
#D6E4B9
accent
#CC1A94
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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