#8A64B3#8A64B3

#8A64B3 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.5% C 0.124 H 305.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A64B3
RGBrgb(138, 100, 179)
HSLhsl(269, 34%, 55%)
HSVhsv(269, 44%, 70%)
CMYKcmyk(22.9%, 44.1%, 0%, 29.8%)
CIE-LABlab(49.22, 31.24, -36.36)
CIE-LCHlch(49.22, 47.94, 310.67°)
OKLaboklab(57.49% 0.071 -0.1014)
OKLCHoklch(57.49% 0.124 305)
XYZxyz(23.1734, 17.7724, 44.8487)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A64B3 #8DB364
analogous
#6466B3 #8A64B3 #B264B3
triadic
#8A64B3 #B38A64 #64B38A
tetradic
#8A64B3 #B36466 #8DB364 #64B3B2
square
#8A64B3 #B36466 #8DB364 #64B3B2
split-complementary
#8A64B3 #B3B264 #66B364
monochromatic
#4D3469 #6B4892 #8A64B3 #A98DC7 #C8B6DB

Accessibility & contrast

On white

4.61
#8A64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A64B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A64B3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A64B3#FFFFFF#000000##FFFFFF
##8A64B31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#837183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a64b3;
/* rgb */ color: rgb(138, 100, 179);
/* oklch */ color: oklch(57.5% 0.124 305.0);
Tailwind
colors: {
  custom: {
    50: '#ae91ca',
    500: '#8a64b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a64b3;
$custom-light: #ae91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a64b3",
  "rgb": {
    "r": 138,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 268.861,
    "s": 34.199,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.12382,
    "h": 305
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#8A64B3
secondary
#BACAA9
accent
#CA5E96
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100D13
muted
#7F7D82

Preview Lab

Preview with #8A64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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