#8640AA#8640AA

#8640AA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.170 H 312.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8640AA
RGBrgb(134, 64, 170)
HSLhsl(280, 45%, 46%)
HSVhsv(280, 62%, 67%)
CMYKcmyk(21.2%, 62.4%, 0%, 33.3%)
CIE-LABlab(40.63, 47.82, -44.72)
CIE-LCHlch(40.63, 65.47, 316.92°)
OKLaboklab(50.88% 0.1146 -0.1257)
OKLCHoklch(50.88% 0.17 312.4)
XYZxyz(18.9193, 11.6379, 39.2721)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640AA #64AA40
analogous
#5140AA #8640AA #AA4099
triadic
#8640AA #AA8640 #40AA86
tetradic
#8640AA #AA5140 #64AA40 #4099AA
square
#8640AA #AA5140 #64AA40 #4099AA
split-complementary
#8640AA #99AA40 #40AA51
monochromatic
#401F51 #632F7E #8640AA #A363C4 #BD8FD5

Accessibility & contrast

On white

6.31
#8640AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8640AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640AA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640AA#FFFFFF#000000##FFFFFF
##8640AA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#82546F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8640aa;
/* rgb */ color: rgb(134, 64, 170);
/* oklch */ color: oklch(50.9% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#ac79c4',
    500: '#8640aa',
    950: '#000000',
  },
}
SCSS
$custom: #8640aa;
$custom-light: #ac79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8640aa",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 279.623,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.17015,
    "h": 312.4
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#8640AA
secondary
#9AC086
accent
#D5537F
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8640AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8640AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva