#8A64E3#8A64E3

#8A64E3 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.4% C 0.185 H 293.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A64E3
RGBrgb(138, 100, 227)
HSLhsl(258, 69%, 64%)
HSVhsv(258, 56%, 89%)
CMYKcmyk(39.2%, 55.9%, 0%, 11%)
CIE-LABlab(51.91, 43.51, -59.55)
CIE-LCHlch(51.91, 73.75, 306.15°)
OKLaboklab(60.36% 0.0751 -0.1692)
OKLCHoklch(60.36% 0.185 293.9)
XYZxyz(28.8999, 20.0630, 75.0080)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E3 #BDE364
analogous
#647EE3 #8A64E3 #CA64E3
triadic
#8A64E3 #E38A64 #64E38A
tetradic
#8A64E3 #E3647E #BDE364 #64E3CA
square
#8A64E3 #E3647E #BDE364 #64E3CA
split-complementary
#8A64E3 #E3CA64 #7EE364
monochromatic
#4A1FAD #6330DA #8A64E3 #B198EC #D8CCF6

Accessibility & contrast

On white

4.19
#8A64E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A64E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E3#FFFFFF#000000##000000
##8A64E31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE7
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#737F9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a64e3;
/* rgb */ color: rgb(138, 100, 227);
/* oklch */ color: oklch(60.4% 0.185 293.9);
Tailwind
colors: {
  custom: {
    50: '#b191ec',
    500: '#8a64e3',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e3;
$custom-light: #b191ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e3",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 257.953,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60362,
    "c": 0.18515,
    "h": 293.9
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#8A64E3
secondary
#DAE8BB
accent
#D11499
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64E3

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

Preview Lab → · Contrast checker → · Palette generator →

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