#8640C7#8640C7

#8640C7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.201 H 304.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8640C7
RGBrgb(134, 64, 199)
HSLhsl(271, 55%, 52%)
HSVhsv(271, 68%, 78%)
CMYKcmyk(32.7%, 67.8%, 0%, 22%)
CIE-LABlab(42.55, 54.49, -58.67)
CIE-LCHlch(42.55, 80.07, 312.89°)
OKLaboklab(52.87% 0.1126 -0.1667)
OKLCHoklch(52.87% 0.201 304)
XYZxyz(21.9714, 12.8587, 55.3462)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640C7 #81C740
analogous
#4340C7 #8640C7 #C740C5
triadic
#8640C7 #C78640 #40C786
tetradic
#8640C7 #C74340 #81C740 #40C5C7
square
#8640C7 #C74340 #81C740 #40C5C7
split-complementary
#8640C7 #C5C740 #40C743
monochromatic
#48206D #672E9C #8640C7 #A46FD5 #C29FE3

Accessibility & contrast

On white

5.88
#8640C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8640C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8640C7#FFFFFF#000000##FFFFFF
##8640C71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0564C4
Tritanopia (blue-blind)
#7A5F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8640c7;
/* rgb */ color: rgb(134, 64, 199);
/* oklch */ color: oklch(52.9% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ad9',
    500: '#8640c7',
    950: '#000000',
  },
}
SCSS
$custom: #8640c7;
$custom-light: #ae7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8640c7",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 271.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.20112,
    "h": 304
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#8640C7
secondary
#B0CF94
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8640C7

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

Preview Lab → · Contrast checker → · Palette generator →

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