#8640C0#8640C0

#8640C0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.194 H 305.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8640C0
RGBrgb(134, 64, 192)
HSLhsl(273, 50%, 50%)
HSVhsv(273, 67%, 75%)
CMYKcmyk(30.2%, 66.7%, 0%, 24.7%)
CIE-LABlab(42.06, 52.85, -55.38)
CIE-LCHlch(42.06, 76.55, 313.66°)
OKLaboklab(52.37% 0.1133 -0.157)
OKLCHoklch(52.37% 0.194 305.8)
XYZxyz(21.1773, 12.5411, 51.1640)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640C0 #7AC040
analogous
#4640C0 #8640C0 #C040BA
triadic
#8640C0 #C08640 #40C086
tetradic
#8640C0 #C04640 #7AC040 #40BAC0
square
#8640C0 #C04640 #7AC040 #40BAC0
split-complementary
#8640C0 #BAC040 #40C046
monochromatic
#462164 #663092 #8640C0 #A36ECF #C09CDE

Accessibility & contrast

On white

5.99
#8640C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8640C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8640C0#FFFFFF#000000##FFFFFF
##8640C01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#7C5C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8640c0;
/* rgb */ color: rgb(134, 64, 192);
/* oklch */ color: oklch(52.4% 0.194 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ad4',
    500: '#8640c0',
    950: '#000000',
  },
}
SCSS
$custom: #8640c0;
$custom-light: #ae7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8640c0",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 272.813,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.19365,
    "h": 305.8
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#8640C0
secondary
#ABCB91
accent
#DA4E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8640C0

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

Preview Lab → · Contrast checker → · Palette generator →

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