#8A64BF#8A64BF

#8A64BF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.139 H 301.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A64BF
RGBrgb(138, 100, 191)
HSLhsl(265, 42%, 57%)
HSVhsv(265, 48%, 75%)
CMYKcmyk(27.7%, 47.6%, 0%, 25.1%)
CIE-LABlab(49.83, 34.19, -42.34)
CIE-LCHlch(49.83, 54.42, 308.92°)
OKLaboklab(58.15% 0.0728 -0.1188)
OKLCHoklch(58.15% 0.139 301.5)
XYZxyz(24.4402, 18.2791, 51.5208)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BF #99BF64
analogous
#646CBF #8A64BF #B864BF
triadic
#8A64BF #BF8A64 #64BF8A
tetradic
#8A64BF #BF646C #99BF64 #64BFB8
square
#8A64BF #BF646C #99BF64 #64BFB8
split-complementary
#8A64BF #BFB864 #6CBF64
monochromatic
#4F3177 #6B43A3 #8A64BF #AB8FD1 #CBBBE3

Accessibility & contrast

On white

4.51
#8A64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A64BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BF#FFFFFF#000000##000000
##8A64BF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#807488
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64bf;
/* rgb */ color: rgb(138, 100, 191);
/* oklch */ color: oklch(58.2% 0.139 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae91d3',
    500: '#8a64bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a64bf;
$custom-light: #ae91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64bf",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 265.055,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.13933,
    "h": 301.5
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#8A64BF
secondary
#C2D2AD
accent
#D1569E
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110D14
muted
#807D83

Preview Lab

Preview with #8A64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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