#8A64E6#8A64E6

#8A64E6 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.189 H 293.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A64E6
RGBrgb(138, 100, 230)
HSLhsl(258, 72%, 65%)
HSVhsv(258, 57%, 90%)
CMYKcmyk(40%, 56.5%, 0%, 9.8%)
CIE-LABlab(52.10, 44.31, -60.94)
CIE-LCHlch(52.10, 75.35, 306.02°)
OKLaboklab(60.56% 0.0751 -0.1733)
OKLCHoklch(60.56% 0.189 293.4)
XYZxyz(29.3175, 20.2301, 77.2077)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64E6 #C0E664
analogous
#647FE6 #8A64E6 #CB64E6
triadic
#8A64E6 #E68A64 #64E68A
tetradic
#8A64E6 #E6647F #C0E664 #64E6CB
square
#8A64E6 #E6647F #C0E664 #64E6CB
split-complementary
#8A64E6 #E6CB64 #7FE664
monochromatic
#491DB3 #622FDD #8A64E6 #B299EE #DACDF7

Accessibility & contrast

On white

4.16
#8A64E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A64E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64E6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64E6#FFFFFF#000000##000000
##8A64E61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEA
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#72809B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a64e6;
/* rgb */ color: rgb(138, 100, 230);
/* oklch */ color: oklch(60.6% 0.189 293.4);
Tailwind
colors: {
  custom: {
    50: '#b191ef',
    500: '#8a64e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a64e6;
$custom-light: #b191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64e6",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 257.538,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.18888,
    "h": 293.4
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#8A64E6
secondary
#DCE9BD
accent
#D4119B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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