#8A64BB#8A64BB

#8A64BB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.134 H 302.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A64BB
RGBrgb(138, 100, 187)
HSLhsl(266, 39%, 56%)
HSVhsv(266, 47%, 73%)
CMYKcmyk(26.2%, 46.5%, 0%, 26.7%)
CIE-LABlab(49.62, 33.20, -40.36)
CIE-LCHlch(49.62, 52.26, 309.43°)
OKLaboklab(57.93% 0.0723 -0.113)
OKLCHoklch(57.93% 0.134 302.6)
XYZxyz(24.0061, 18.1055, 49.2341)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BB #95BB64
analogous
#646ABB #8A64BB #B664BB
triadic
#8A64BB #BB8A64 #64BB8A
tetradic
#8A64BB #BB646A #95BB64 #64BBB6
square
#8A64BB #BB646A #95BB64 #64BBB6
split-complementary
#8A64BB #BBB664 #6ABB64
monochromatic
#4E3272 #6B459D #8A64BB #AA8FCE #CAB9E0

Accessibility & contrast

On white

4.54
#8A64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A64BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BB#FFFFFF#000000##000000
##8A64BB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#817386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64bb;
/* rgb */ color: rgb(138, 100, 187);
/* oklch */ color: oklch(57.9% 0.134 302.6);
Tailwind
colors: {
  custom: {
    50: '#ae91d0',
    500: '#8a64bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a64bb;
$custom-light: #ae91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64bb",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 266.207,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.13417,
    "h": 302.6
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#8A64BB
secondary
#C0CFAB
accent
#CF599B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #8A64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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