#8640BA#8640BA

#8640BA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.187 H 307.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8640BA
RGBrgb(134, 64, 186)
HSLhsl(274, 49%, 49%)
HSVhsv(274, 66%, 73%)
CMYKcmyk(28%, 65.6%, 0%, 27.1%)
CIE-LABlab(41.66, 51.45, -52.52)
CIE-LCHlch(41.66, 73.52, 314.41°)
OKLaboklab(51.95% 0.1139 -0.1486)
OKLCHoklch(51.95% 0.187 307.5)
XYZxyz(20.5260, 12.2806, 47.7339)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640BA #74BA40
analogous
#4940BA #8640BA #BA40B1
triadic
#8640BA #BA8640 #40BA86
tetradic
#8640BA #BA4940 #74BA40 #40B1BA
square
#8640BA #BA4940 #74BA40 #40B1BA
split-complementary
#8640BA #B1BA40 #40BA49
monochromatic
#44215F #65308C #8640BA #A36BCC #BF99DC

Accessibility & contrast

On white

6.08
#8640BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8640BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640BA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640BA#FFFFFF#000000##FFFFFF
##8640BA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#7E5A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8640ba;
/* rgb */ color: rgb(134, 64, 186);
/* oklch */ color: oklch(51.9% 0.187 307.5);
Tailwind
colors: {
  custom: {
    50: '#ad79cf',
    500: '#8640ba',
    950: '#000000',
  },
}
SCSS
$custom: #8640ba;
$custom-light: #ad79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8640ba",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 274.426,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.18724,
    "h": 307.5
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#8640BA
secondary
#A7C88E
accent
#D84F8A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8640BA

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

Preview Lab → · Contrast checker → · Palette generator →

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