#8A64E0#8A64E0

#8A64E0 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.181 H 294.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A64E0
RGBrgb(138, 100, 224)
HSLhsl(258, 67%, 64%)
HSVhsv(258, 55%, 88%)
CMYKcmyk(38.4%, 55.4%, 0%, 12.2%)
CIE-LABlab(51.72, 42.71, -58.16)
CIE-LCHlch(51.72, 72.16, 306.29°)
OKLaboklab(60.17% 0.0751 -0.1651)
OKLCHoklch(60.17% 0.181 294.4)
XYZxyz(28.4894, 19.8988, 72.8464)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E0 #BAE064
analogous
#647CE0 #8A64E0 #C864E0
triadic
#8A64E0 #E08A64 #64E08A
tetradic
#8A64E0 #E0647C #BAE064 #64E0C8
square
#8A64E0 #E0647C #BAE064 #64E0C8
split-complementary
#8A64E0 #E0C864 #7CE064
monochromatic
#4B22A8 #6431D6 #8A64E0 #B097EA #D7CAF4

Accessibility & contrast

On white

4.22
#8A64E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A64E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E0#FFFFFF#000000##000000
##8A64E01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#277CE4
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#747E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a64e0;
/* rgb */ color: rgb(138, 100, 224);
/* oklch */ color: oklch(60.2% 0.181 294.4);
Tailwind
colors: {
  custom: {
    50: '#b191ea',
    500: '#8a64e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e0;
$custom-light: #b191ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e0",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 258.387,
    "s": 66.667,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.1814,
    "h": 294.4
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#8A64E0
secondary
#D8E6BA
accent
#CF1796
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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