#8164EA#8164EA

#8164EA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.194 H 289.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8164EA
RGBrgb(129, 100, 234)
HSLhsl(253, 76%, 65%)
HSVhsv(253, 57%, 92%)
CMYKcmyk(44.9%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.52, 43.46, -64.16)
CIE-LCHlch(51.52, 77.49, 304.11°)
OKLaboklab(60.02% 0.0637 -0.183)
OKLCHoklch(60.02% 0.194 289.2)
XYZxyz(28.4575, 19.7209, 80.1331)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8164EA #CDEA64
analogous
#648AEA #8164EA #C464EA
triadic
#8164EA #EA8164 #64EA81
tetradic
#8164EA #EA648A #CDEA64 #64EAC4
square
#8164EA #EA648A #CDEA64 #64EAC4
split-complementary
#8164EA #EAC464 #8AEA64
monochromatic
#3C19BA #552EE3 #8164EA #AD9AF1 #D9D0F9

Accessibility & contrast

On white

4.25
#8164EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8164EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8164EA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8164EA#FFFFFF#000000##000000
##8164EA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#0978E7
Tritanopia (blue-blind)
#61829D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8164ea;
/* rgb */ color: rgb(129, 100, 234);
/* oklch */ color: oklch(60.0% 0.194 289.2);
Tailwind
colors: {
  custom: {
    50: '#ac91f1',
    500: '#8164ea',
    950: '#000000',
  },
}
SCSS
$custom: #8164ea;
$custom-light: #ac91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8164ea",
  "rgb": {
    "r": 129,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 252.985,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.19379,
    "h": 289.2
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#8164EA
secondary
#E2EBBE
accent
#D80DAC
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8164EA

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

Preview Lab → · Contrast checker → · Palette generator →

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