#8640D1#8640D1

#8640D1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.212 H 301.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8640D1
RGBrgb(134, 64, 209)
HSLhsl(269, 61%, 54%)
HSVhsv(269, 69%, 82%)
CMYKcmyk(35.9%, 69.4%, 0%, 18%)
CIE-LABlab(43.27, 56.88, -63.28)
CIE-LCHlch(43.27, 85.09, 311.95°)
OKLaboklab(53.61% 0.1112 -0.1802)
OKLCHoklch(53.61% 0.212 301.7)
XYZxyz(23.1708, 13.3385, 61.6631)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640D1 #8BD140
analogous
#4042D1 #8640D1 #CF40D1
triadic
#8640D1 #D18640 #40D186
tetradic
#8640D1 #D14042 #8BD140 #40D1CF
square
#8640D1 #D14042 #8BD140 #40D1CF
split-complementary
#8640D1 #D1CF40 #42D140
monochromatic
#4A1D79 #6829AB #8640D1 #A571DD #C4A3E9

Accessibility & contrast

On white

5.73
#8640D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8640D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640D1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640D1#FFFFFF#000000##FFFFFF
##8640D11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#766284
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8640d1;
/* rgb */ color: rgb(134, 64, 209);
/* oklch */ color: oklch(53.6% 0.212 301.7);
Tailwind
colors: {
  custom: {
    50: '#af7ae0',
    500: '#8640d1',
    950: '#000000',
  },
}
SCSS
$custom: #8640d1;
$custom-light: #af7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8640d1",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 268.966,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.21176,
    "h": 301.7
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8640D1

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

Preview Lab → · Contrast checker → · Palette generator →

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