#8A64DE#8A64DE

#8A64DE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.179 H 294.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A64DE
RGBrgb(138, 100, 222)
HSLhsl(259, 65%, 63%)
HSVhsv(259, 55%, 87%)
CMYKcmyk(37.8%, 55%, 0%, 12.9%)
CIE-LABlab(51.60, 42.18, -57.23)
CIE-LCHlch(51.60, 71.09, 306.39°)
OKLaboklab(60.04% 0.075 -0.1624)
OKLCHoklch(60.04% 0.179 294.8)
XYZxyz(28.2198, 19.7910, 71.4263)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64DE #B8DE64
analogous
#647BDE #8A64DE #C764DE
triadic
#8A64DE #DE8A64 #64DE8A
tetradic
#8A64DE #DE647B #B8DE64 #64DEC7
square
#8A64DE #DE647B #B8DE64 #64DEC7
split-complementary
#8A64DE #DEC764 #7BDE64
monochromatic
#4B23A5 #6432D3 #8A64DE #B096E9 #D6C9F3

Accessibility & contrast

On white

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

On black

4.96
#8A64DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64DE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64DE#FFFFFF#000000##000000
##8A64DE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE2
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#757D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64de;
/* rgb */ color: rgb(138, 100, 222);
/* oklch */ color: oklch(60.0% 0.179 294.8);
Tailwind
colors: {
  custom: {
    50: '#b191e9',
    500: '#8a64de',
    950: '#000000',
  },
}
SCSS
$custom: #8a64de;
$custom-light: #b191e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64de",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 258.689,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.17889,
    "h": 294.8
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#8A64DE
secondary
#D7E5B9
accent
#CD1995
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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