#8640AC#8640AC

#8640AC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.172 H 311.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8640AC
RGBrgb(134, 64, 172)
HSLhsl(279, 46%, 46%)
HSVhsv(279, 63%, 67%)
CMYKcmyk(22.1%, 62.8%, 0%, 32.5%)
CIE-LABlab(40.76, 48.27, -45.71)
CIE-LCHlch(40.76, 66.48, 316.56°)
OKLaboklab(51.01% 0.1146 -0.1286)
OKLCHoklch(51.01% 0.172 311.7)
XYZxyz(19.1099, 11.7141, 40.2761)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640AC #66AC40
analogous
#5040AC #8640AC #AC409C
triadic
#8640AC #AC8640 #40AC86
tetradic
#8640AC #AC5040 #66AC40 #409CAC
square
#8640AC #AC5040 #66AC40 #409CAC
split-complementary
#8640AC #9CAC40 #40AC50
monochromatic
#411F53 #632F7F #8640AC #A364C5 #BD91D6

Accessibility & contrast

On white

6.28
#8640AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8640AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8640AC#FFFFFF#000000##FFFFFF
##8640AC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#3761A9
Tritanopia (blue-blind)
#825570
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8640ac;
/* rgb */ color: rgb(134, 64, 172);
/* oklch */ color: oklch(51.0% 0.172 311.7);
Tailwind
colors: {
  custom: {
    50: '#ac79c5',
    500: '#8640ac',
    950: '#000000',
  },
}
SCSS
$custom: #8640ac;
$custom-light: #ac79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8640ac",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 278.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.17228,
    "h": 311.7
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#8640AC
secondary
#9BC187
accent
#D55280
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8640AC

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

Preview Lab → · Contrast checker → · Palette generator →

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