#8A64F8#8A64F8

#8A64F8 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.8% C 0.211 H 290.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A64F8
RGBrgb(138, 100, 248)
HSLhsl(255, 91%, 68%)
HSVhsv(255, 60%, 97%)
CMYKcmyk(44.4%, 59.7%, 0%, 2.7%)
CIE-LABlab(53.27, 49.18, -69.11)
CIE-LCHlch(53.27, 84.82, 305.44°)
OKLaboklab(61.8% 0.0747 -0.1973)
OKLCHoklch(61.8% 0.211 290.7)
XYZxyz(31.9769, 21.2938, 91.2140)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F8 #D2F864
analogous
#6488F8 #8A64F8 #D464F8
triadic
#8A64F8 #F88A64 #64F88A
tetradic
#8A64F8 #F86488 #D2F864 #64F8D4
square
#8A64F8 #F86488 #D2F864 #64F8D4
split-complementary
#8A64F8 #F8D464 #88F864
monochromatic
#3F0AD8 #5E29F5 #8A64F8 #B69FFB #E2D9FD

Accessibility & contrast

On white

3.99
#8A64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F8#FFFFFF#000000##000000
##8A64F81.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#6986A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a64f8;
/* rgb */ color: rgb(138, 100, 248);
/* oklch */ color: oklch(61.8% 0.211 290.7);
Tailwind
colors: {
  custom: {
    50: '#b392fb',
    500: '#8a64f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f8;
$custom-light: #b392fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f8",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 255.405,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61795,
    "c": 0.21098,
    "h": 290.7
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#8A64F8
secondary
#E7F2C5
accent
#E600AB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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