#8A64F5#8A64F5

#8A64F5 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.6% C 0.207 H 291.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A64F5
RGBrgb(138, 100, 245)
HSLhsl(256, 88%, 68%)
HSVhsv(256, 59%, 96%)
CMYKcmyk(43.7%, 59.2%, 0%, 3.9%)
CIE-LABlab(53.07, 48.36, -67.76)
CIE-LCHlch(53.07, 83.25, 305.51°)
OKLaboklab(61.58% 0.0748 -0.1934)
OKLCHoklch(61.58% 0.207 291.2)
XYZxyz(31.5153, 21.1091, 88.7825)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64F5 #CFF564
analogous
#6487F5 #8A64F5 #D264F5
triadic
#8A64F5 #F58A64 #64F58A
tetradic
#8A64F5 #F56487 #CFF564 #64F5D2
square
#8A64F5 #F56487 #CFF564 #64F5D2
split-complementary
#8A64F5 #F5D264 #87F564
monochromatic
#410DD1 #5F2BF1 #8A64F5 #B59DF9 #E1D7FC

Accessibility & contrast

On white

4.02
#8A64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64F5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64F5#FFFFFF#000000##000000
##8A64F51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#6B85A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a64f5;
/* rgb */ color: rgb(138, 100, 245);
/* oklch */ color: oklch(61.6% 0.207 291.2);
Tailwind
colors: {
  custom: {
    50: '#b392f9',
    500: '#8a64f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a64f5;
$custom-light: #b392f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64f5",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 255.724,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.20734,
    "h": 291.2
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#8A64F5
secondary
#E5F1C4
accent
#E401A9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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