#8640D0#8640D0

#8640D0 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.211 H 301.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8640D0
RGBrgb(134, 64, 208)
HSLhsl(269, 61%, 53%)
HSVhsv(269, 69%, 82%)
CMYKcmyk(35.6%, 69.2%, 0%, 18.4%)
CIE-LABlab(43.20, 56.64, -62.82)
CIE-LCHlch(43.20, 84.59, 312.04°)
OKLaboklab(53.54% 0.1113 -0.1789)
OKLCHoklch(53.54% 0.211 301.9)
XYZxyz(23.0474, 13.2891, 61.0131)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640D0 #8AD040
analogous
#4042D0 #8640D0 #CE40D0
triadic
#8640D0 #D08640 #40D086
tetradic
#8640D0 #D04042 #8AD040 #40D0CE
square
#8640D0 #D04042 #8AD040 #40D0CE
split-complementary
#8640D0 #D0CE40 #42D040
monochromatic
#4A1E78 #682AA9 #8640D0 #A571DC #C4A2E8

Accessibility & contrast

On white

5.74
#8640D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8640D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640D0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640D0#FFFFFF#000000##FFFFFF
##8640D01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#766283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8640d0;
/* rgb */ color: rgb(134, 64, 208);
/* oklch */ color: oklch(53.5% 0.211 301.9);
Tailwind
colors: {
  custom: {
    50: '#af7adf',
    500: '#8640d0',
    950: '#000000',
  },
}
SCSS
$custom: #8640d0;
$custom-light: #af7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8640d0",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 269.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.2107,
    "h": 301.9
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#8640D0
secondary
#B7D597
accent
#E44496
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8640D0

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

Preview Lab → · Contrast checker → · Palette generator →

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