#8640AE#8640AE

#8640AE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.174 H 311.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8640AE
RGBrgb(134, 64, 174)
HSLhsl(278, 46%, 47%)
HSVhsv(278, 63%, 68%)
CMYKcmyk(23%, 63.2%, 0%, 31.8%)
CIE-LABlab(40.88, 48.72, -46.70)
CIE-LCHlch(40.88, 67.48, 316.21°)
OKLaboklab(51.14% 0.1145 -0.1315)
OKLCHoklch(51.14% 0.174 311.1)
XYZxyz(19.3035, 11.7916, 41.2953)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640AE #68AE40
analogous
#4F40AE #8640AE #AE409F
triadic
#8640AE #AE8640 #40AE86
tetradic
#8640AE #AE4F40 #68AE40 #409FAE
square
#8640AE #AE4F40 #68AE40 #409FAE
split-complementary
#8640AE #9FAE40 #40AE4F
monochromatic
#411F55 #643081 #8640AE #A365C6 #BE92D7

Accessibility & contrast

On white

6.25
#8640AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8640AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8640AE#FFFFFF#000000##FFFFFF
##8640AE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#815571
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8640ae;
/* rgb */ color: rgb(134, 64, 174);
/* oklch */ color: oklch(51.1% 0.174 311.1);
Tailwind
colors: {
  custom: {
    50: '#ac79c7',
    500: '#8640ae',
    950: '#000000',
  },
}
SCSS
$custom: #8640ae;
$custom-light: #ac79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8640ae",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 278.182,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.17441,
    "h": 311.1
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#8640AE
secondary
#9DC288
accent
#D65282
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8640AE

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

Preview Lab → · Contrast checker → · Palette generator →

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