#8164EB#8164EB

#8164EB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.195 H 289.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8164EB
RGBrgb(129, 100, 235)
HSLhsl(253, 77%, 66%)
HSVhsv(253, 57%, 92%)
CMYKcmyk(45.1%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.59, 43.74, -64.61)
CIE-LCHlch(51.59, 78.02, 304.10°)
OKLaboklab(60.09% 0.0637 -0.1844)
OKLCHoklch(60.09% 0.195 289.1)
XYZxyz(28.6016, 19.7785, 80.8918)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8164EB #CEEB64
analogous
#648AEB #8164EB #C464EB
triadic
#8164EB #EB8164 #64EB81
tetradic
#8164EB #EB648A #CEEB64 #64EBC4
square
#8164EB #EB648A #CEEB64 #64EBC4
split-complementary
#8164EB #EBC464 #8AEB64
monochromatic
#3C18BC #552EE4 #8164EB #AD9AF2 #D9D0F9

Accessibility & contrast

On white

4.24
#8164EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8164EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8164EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8164EB#FFFFFF#000000##000000
##8164EB1.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)
#007EEF
Deuteranopia (green-blind)
#0378E8
Tritanopia (blue-blind)
#60829E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8164eb;
/* rgb */ color: rgb(129, 100, 235);
/* oklch */ color: oklch(60.1% 0.195 289.1);
Tailwind
colors: {
  custom: {
    50: '#ac91f2',
    500: '#8164eb',
    950: '#000000',
  },
}
SCSS
$custom: #8164eb;
$custom-light: #ac91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8164eb",
  "rgb": {
    "r": 129,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 252.889,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.19505,
    "h": 289.1
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#8164EB
secondary
#E2ECBF
accent
#D90CAD
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8164EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8164EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva