#8A64EB#8A64EB

#8A64EB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.195 H 292.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A64EB
RGBrgb(138, 100, 235)
HSLhsl(257, 77%, 66%)
HSVhsv(257, 57%, 92%)
CMYKcmyk(41.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(52.41, 45.65, -63.23)
CIE-LCHlch(52.41, 77.99, 305.83°)
OKLaboklab(60.9% 0.0751 -0.18)
OKLCHoklch(60.9% 0.195 292.6)
XYZxyz(30.0297, 20.5149, 80.9587)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64EB #C5EB64
analogous
#6481EB #8A64EB #CD64EB
triadic
#8A64EB #EB8A64 #64EB8A
tetradic
#8A64EB #EB6481 #C5EB64 #64EBCD
square
#8A64EB #EB6481 #C5EB64 #64EBCD
split-complementary
#8A64EB #EBCD64 #81EB64
monochromatic
#4618BC #612EE4 #8A64EB #B39AF2 #DCD0F9

Accessibility & contrast

On white

4.12
#8A64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64EB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64EB#FFFFFF#000000##000000
##8A64EB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#097FEF
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#70819E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a64eb;
/* rgb */ color: rgb(138, 100, 235);
/* oklch */ color: oklch(60.9% 0.195 292.6);
Tailwind
colors: {
  custom: {
    50: '#b291f2',
    500: '#8a64eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a64eb;
$custom-light: #b291f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64eb",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 256.889,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.19508,
    "h": 292.6
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#8A64EB
secondary
#DFECBF
accent
#D90CA0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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