#8640BF#8640BF

#8640BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.193 H 306.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8640BF
RGBrgb(134, 64, 191)
HSLhsl(273, 50%, 50%)
HSVhsv(273, 66%, 75%)
CMYKcmyk(29.8%, 66.5%, 0%, 25.1%)
CIE-LABlab(42.00, 52.61, -54.91)
CIE-LCHlch(42.00, 76.04, 313.78°)
OKLaboklab(52.3% 0.1134 -0.1556)
OKLCHoklch(52.3% 0.193 306.1)
XYZxyz(21.0668, 12.4969, 50.5824)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BF #79BF40
analogous
#4740BF #8640BF #BF40B8
triadic
#8640BF #BF8640 #40BF86
tetradic
#8640BF #BF4740 #79BF40 #40B8BF
square
#8640BF #BF4740 #79BF40 #40B8BF
split-complementary
#8640BF #B8BF40 #40BF47
monochromatic
#462163 #663191 #8640BF #A36ECE #C09CDE

Accessibility & contrast

On white

6.00
#8640BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8640BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BF#FFFFFF#000000##FFFFFF
##8640BF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#7C5C7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8640bf;
/* rgb */ color: rgb(134, 64, 191);
/* oklch */ color: oklch(52.3% 0.193 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae7ad3',
    500: '#8640bf',
    950: '#000000',
  },
}
SCSS
$custom: #8640bf;
$custom-light: #ae7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8640bf",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 273.071,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.19259,
    "h": 306.1
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#8640BF
secondary
#AACA91
accent
#D94E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8640BF

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

Preview Lab → · Contrast checker → · Palette generator →

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