#8A64F6#8A64F6

#8A64F6 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.7% C 0.209 H 291.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A64F6
RGBrgb(138, 100, 246)
HSLhsl(256, 89%, 68%)
HSVhsv(256, 59%, 96%)
CMYKcmyk(43.9%, 59.3%, 0%, 3.5%)
CIE-LABlab(53.14, 48.63, -68.21)
CIE-LCHlch(53.14, 83.77, 305.49°)
OKLaboklab(61.65% 0.0748 -0.1947)
OKLCHoklch(61.65% 0.209 291)
XYZxyz(31.6683, 21.1704, 89.5886)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F6 #D0F664
analogous
#6487F6 #8A64F6 #D364F6
triadic
#8A64F6 #F68A64 #64F68A
tetradic
#8A64F6 #F66487 #D0F664 #64F6D3
square
#8A64F6 #F66487 #D0F664 #64F6D3
split-complementary
#8A64F6 #F6D364 #87F664
monochromatic
#400CD3 #5E2AF3 #8A64F6 #B69EF9 #E1D8FD

Accessibility & contrast

On white

4.01
#8A64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F6#FFFFFF#000000##000000
##8A64F61.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#6A85A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a64f6;
/* rgb */ color: rgb(138, 100, 246);
/* oklch */ color: oklch(61.7% 0.209 291.0);
Tailwind
colors: {
  custom: {
    50: '#b392fa',
    500: '#8a64f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f6;
$custom-light: #b392fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f6",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 255.616,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.20855,
    "h": 291
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#8A64F6
secondary
#E6F1C4
accent
#E600AA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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