#8A64ED#8A64ED

#8A64ED is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.198 H 292.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A64ED
RGBrgb(138, 100, 237)
HSLhsl(257, 79%, 66%)
HSVhsv(257, 58%, 93%)
CMYKcmyk(41.8%, 57.8%, 0%, 7.1%)
CIE-LABlab(52.54, 46.19, -64.14)
CIE-LCHlch(52.54, 79.05, 305.76°)
OKLaboklab(61.03% 0.075 -0.1827)
OKLCHoklch(61.03% 0.198 292.3)
XYZxyz(30.3203, 20.6312, 82.4890)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64ED #C7ED64
analogous
#6482ED #8A64ED #CE64ED
triadic
#8A64ED #ED8A64 #64ED8A
tetradic
#8A64ED #ED6482 #C7ED64 #64EDCE
square
#8A64ED #ED6482 #C7ED64 #64EDCE
split-complementary
#8A64ED #EDCE64 #82ED64
monochromatic
#4516C0 #612DE7 #8A64ED #B39BF3 #DDD2FA

Accessibility & contrast

On white

4.10
#8A64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64ED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64ED#FFFFFF#000000##000000
##8A64ED1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#197BEA
Tritanopia (blue-blind)
#6F829F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a64ed;
/* rgb */ color: rgb(138, 100, 237);
/* oklch */ color: oklch(61.0% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#b291f4',
    500: '#8a64ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a64ed;
$custom-light: #b291f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64ed",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 256.642,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.19754,
    "h": 292.3
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#8A64ED
secondary
#E0EDC0
accent
#DB0AA1
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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