#8A64E1#8A64E1

#8A64E1 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.183 H 294.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A64E1
RGBrgb(138, 100, 225)
HSLhsl(258, 68%, 64%)
HSVhsv(258, 56%, 88%)
CMYKcmyk(38.7%, 55.6%, 0%, 11.8%)
CIE-LABlab(51.78, 42.98, -58.62)
CIE-LCHlch(51.78, 72.69, 306.25°)
OKLaboklab(60.23% 0.0751 -0.1665)
OKLCHoklch(60.23% 0.183 294.3)
XYZxyz(28.6254, 19.9532, 73.5627)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E1 #BBE164
analogous
#647CE1 #8A64E1 #C864E1
triadic
#8A64E1 #E18A64 #64E18A
tetradic
#8A64E1 #E1647C #BBE164 #64E1C8
square
#8A64E1 #E1647C #BBE164 #64E1C8
split-complementary
#8A64E1 #E1C864 #7CE164
monochromatic
#4A21AA #6331D7 #8A64E1 #B197EB #D7CBF5

Accessibility & contrast

On white

4.21
#8A64E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A64E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E1#FFFFFF#000000##000000
##8A64E11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE5
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#747E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64e1;
/* rgb */ color: rgb(138, 100, 225);
/* oklch */ color: oklch(60.2% 0.183 294.3);
Tailwind
colors: {
  custom: {
    50: '#b191eb',
    500: '#8a64e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e1;
$custom-light: #b191eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e1",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 258.24,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.18264,
    "h": 294.3
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#8A64E1
secondary
#D9E6BA
accent
#CF1697
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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