#8640C3#8640C3

#8640C3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.197 H 305.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8640C3
RGBrgb(134, 64, 195)
HSLhsl(272, 52%, 51%)
HSVhsv(272, 67%, 76%)
CMYKcmyk(31.3%, 67.2%, 0%, 23.5%)
CIE-LABlab(42.27, 53.55, -56.79)
CIE-LCHlch(42.27, 78.06, 313.32°)
OKLaboklab(52.58% 0.113 -0.1612)
OKLCHoklch(52.58% 0.197 305)
XYZxyz(21.5130, 12.6754, 52.9324)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640C3 #7DC340
analogous
#4440C3 #8640C3 #C340BE
triadic
#8640C3 #C38640 #40C386
tetradic
#8640C3 #C34440 #7DC340 #40BEC3
square
#8640C3 #C34440 #7DC340 #40BEC3
split-complementary
#8640C3 #BEC340 #40C344
monochromatic
#472168 #662F97 #8640C3 #A46FD2 #C19DE0

Accessibility & contrast

On white

5.94
#8640C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8640C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8640C3#FFFFFF#000000##FFFFFF
##8640C31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#7B5D7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8640c3;
/* rgb */ color: rgb(134, 64, 195);
/* oklch */ color: oklch(52.6% 0.197 305.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ad6',
    500: '#8640c3',
    950: '#000000',
  },
}
SCSS
$custom: #8640c3;
$custom-light: #ae7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#8640c3",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 272.061,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.19686,
    "h": 305
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#8640C3
secondary
#ADCC92
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8640C3

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

Preview Lab → · Contrast checker → · Palette generator →

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