#8A64BC#8A64BC

#8A64BC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.0% C 0.135 H 302.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A64BC
RGBrgb(138, 100, 188)
HSLhsl(266, 40%, 56%)
HSVhsv(266, 47%, 74%)
CMYKcmyk(26.6%, 46.8%, 0%, 26.3%)
CIE-LABlab(49.68, 33.44, -40.86)
CIE-LCHlch(49.68, 52.80, 309.30°)
OKLaboklab(57.98% 0.0724 -0.1145)
OKLCHoklch(57.98% 0.135 302.3)
XYZxyz(24.1135, 18.1484, 49.7998)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64BC #96BC64
analogous
#646ABC #8A64BC #B664BC
triadic
#8A64BC #BC8A64 #64BC8A
tetradic
#8A64BC #BC646A #96BC64 #64BCB6
square
#8A64BC #BC646A #96BC64 #64BCB6
split-complementary
#8A64BC #BCB664 #6ABC64
monochromatic
#4E3274 #6B449E #8A64BC #AA8FCE #CBB9E1

Accessibility & contrast

On white

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

On black

4.63
#8A64BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A64BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64BC#FFFFFF#000000##000000
##8A64BC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BF
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#817387
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a64bc;
/* rgb */ color: rgb(138, 100, 188);
/* oklch */ color: oklch(58.0% 0.135 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae91d0',
    500: '#8a64bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a64bc;
$custom-light: #ae91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64bc",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 265.909,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.13546,
    "h": 302.3
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#8A64BC
secondary
#C0D0AC
accent
#D0589C
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100D14
muted
#7F7D82

Preview Lab

Preview with #8A64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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