#8A64E7#8A64E7

#8A64E7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.190 H 293.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A64E7
RGBrgb(138, 100, 231)
HSLhsl(257, 73%, 65%)
HSVhsv(257, 57%, 91%)
CMYKcmyk(40.3%, 56.7%, 0%, 9.4%)
CIE-LABlab(52.16, 44.58, -61.40)
CIE-LCHlch(52.16, 75.88, 305.98°)
OKLaboklab(60.63% 0.0751 -0.1747)
OKLCHoklch(60.63% 0.19 293.3)
XYZxyz(29.4583, 20.2864, 77.9494)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E7 #C1E764
analogous
#647FE7 #8A64E7 #CC64E7
triadic
#8A64E7 #E78A64 #64E78A
tetradic
#8A64E7 #E7647F #C1E764 #64E7CC
square
#8A64E7 #E7647F #C1E764 #64E7CC
split-complementary
#8A64E7 #E7CC64 #7FE764
monochromatic
#481CB5 #622FDF #8A64E7 #B299EF #DACEF7

Accessibility & contrast

On white

4.15
#8A64E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E7#FFFFFF#000000##000000
##8A64E71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#71809C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a64e7;
/* rgb */ color: rgb(138, 100, 231);
/* oklch */ color: oklch(60.6% 0.190 293.3);
Tailwind
colors: {
  custom: {
    50: '#b191ef',
    500: '#8a64e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e7;
$custom-light: #b191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e7",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 257.405,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.19013,
    "h": 293.3
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#8A64E7
secondary
#DDEABD
accent
#D5109C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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