#8A64E8#8A64E8

#8A64E8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.191 H 293.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A64E8
RGBrgb(138, 100, 232)
HSLhsl(257, 74%, 65%)
HSVhsv(257, 57%, 91%)
CMYKcmyk(40.5%, 56.9%, 0%, 9%)
CIE-LABlab(52.22, 44.85, -61.86)
CIE-LCHlch(52.22, 76.41, 305.94°)
OKLaboklab(60.7% 0.0751 -0.176)
OKLCHoklch(60.7% 0.191 293.1)
XYZxyz(29.6000, 20.3430, 78.6953)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E8 #C2E864
analogous
#6480E8 #8A64E8 #CC64E8
triadic
#8A64E8 #E88A64 #64E88A
tetradic
#8A64E8 #E86480 #C2E864 #64E8CC
square
#8A64E8 #E86480 #C2E864 #64E8CC
split-complementary
#8A64E8 #E8CC64 #80E864
monochromatic
#481BB7 #622FE0 #8A64E8 #B299F0 #DACFF8

Accessibility & contrast

On white

4.14
#8A64E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A64E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E8#FFFFFF#000000##000000
##8A64E81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEC
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#71819C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a64e8;
/* rgb */ color: rgb(138, 100, 232);
/* oklch */ color: oklch(60.7% 0.191 293.1);
Tailwind
colors: {
  custom: {
    50: '#b291f0',
    500: '#8a64e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e8;
$custom-light: #b291f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e8",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 257.273,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.19136,
    "h": 293.1
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#8A64E8
secondary
#DDEABE
accent
#D60F9D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A64E8

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

Preview Lab → · Contrast checker → · Palette generator →

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