#8A64F7#8A64F7

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

Color values

HEX#8A64F7
RGBrgb(138, 100, 247)
HSLhsl(256, 90%, 68%)
HSVhsv(256, 60%, 97%)
CMYKcmyk(44.1%, 59.5%, 0%, 3.1%)
CIE-LABlab(53.20, 48.90, -68.66)
CIE-LCHlch(53.20, 84.30, 305.46°)
OKLaboklab(61.72% 0.0747 -0.196)
OKLCHoklch(61.72% 0.21 290.9)
XYZxyz(31.8222, 21.2319, 90.3991)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F7 #D1F764
analogous
#6487F7 #8A64F7 #D364F7
triadic
#8A64F7 #F78A64 #64F78A
tetradic
#8A64F7 #F76487 #D1F764 #64F7D3
square
#8A64F7 #F76487 #D1F764 #64F7D3
split-complementary
#8A64F7 #F7D364 #87F764
monochromatic
#3F0BD6 #5E2AF4 #8A64F7 #B69EFA #E2D8FD

Accessibility & contrast

On white

4.00
#8A64F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F7#FFFFFF#000000##000000
##8A64F71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#6A85A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a64f7;
/* rgb */ color: rgb(138, 100, 247);
/* oklch */ color: oklch(61.7% 0.210 290.9);
Tailwind
colors: {
  custom: {
    50: '#b392fb',
    500: '#8a64f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f7;
$custom-light: #b392fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f7",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 255.51,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.20977,
    "h": 290.9
  },
  "luminance": 0.21233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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