#8A64E2#8A64E2

#8A64E2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.184 H 294.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A64E2
RGBrgb(138, 100, 226)
HSLhsl(258, 68%, 64%)
HSVhsv(258, 56%, 89%)
CMYKcmyk(38.9%, 55.8%, 0%, 11.4%)
CIE-LABlab(51.85, 43.24, -59.09)
CIE-LCHlch(51.85, 73.22, 306.20°)
OKLaboklab(60.3% 0.0751 -0.1679)
OKLCHoklch(60.3% 0.184 294.1)
XYZxyz(28.7622, 20.0079, 74.2833)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E2 #BCE264
analogous
#647DE2 #8A64E2 #C964E2
triadic
#8A64E2 #E28A64 #64E28A
tetradic
#8A64E2 #E2647D #BCE264 #64E2C9
square
#8A64E2 #E2647D #BCE264 #64E2C9
split-complementary
#8A64E2 #E2C964 #7DE264
monochromatic
#4A20AC #6330D8 #8A64E2 #B198EC #D8CBF5

Accessibility & contrast

On white

4.20
#8A64E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A64E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E2#FFFFFF#000000##000000
##8A64E21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#307ADF
Tritanopia (blue-blind)
#747F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a64e2;
/* rgb */ color: rgb(138, 100, 226);
/* oklch */ color: oklch(60.3% 0.184 294.1);
Tailwind
colors: {
  custom: {
    50: '#b191ec',
    500: '#8a64e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e2;
$custom-light: #b191ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e2",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 258.095,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.1839,
    "h": 294.1
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#8A64E2
secondary
#DAE7BB
accent
#D01598
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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