#8A64EF#8A64EF

#8A64EF is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.200 H 292.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A64EF
RGBrgb(138, 100, 239)
HSLhsl(256, 81%, 66%)
HSVhsv(256, 58%, 94%)
CMYKcmyk(42.3%, 58.2%, 0%, 6.3%)
CIE-LABlab(52.67, 46.73, -65.05)
CIE-LCHlch(52.67, 80.10, 305.69°)
OKLaboklab(61.17% 0.075 -0.1854)
OKLCHoklch(61.17% 0.2 292)
XYZxyz(30.6141, 20.7487, 84.0365)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64EF #C9EF64
analogous
#6484EF #8A64EF #D064EF
triadic
#8A64EF #EF8A64 #64EF8A
tetradic
#8A64EF #EF6484 #C9EF64 #64EFD0
square
#8A64EF #EF6484 #C9EF64 #64EFD0
split-complementary
#8A64EF #EFD064 #84EF64
monochromatic
#4414C4 #602DE9 #8A64EF #B49BF5 #DED3FA

Accessibility & contrast

On white

4.08
#8A64EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A64EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64EF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64EF#FFFFFF#000000##000000
##8A64EF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#127BEC
Tritanopia (blue-blind)
#6E83A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a64ef;
/* rgb */ color: rgb(138, 100, 239);
/* oklch */ color: oklch(61.2% 0.200 292.0);
Tailwind
colors: {
  custom: {
    50: '#b291f5',
    500: '#8a64ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a64ef;
$custom-light: #b291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64ef",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 256.403,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.2,
    "h": 292
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#8A64EF
secondary
#E2EEC1
accent
#DE08A3
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A64EF

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

Preview Lab → · Contrast checker → · Palette generator →

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