#864AAA#864AAA

#864AAA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.155 H 311.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#864AAA
RGBrgb(134, 74, 170)
HSLhsl(278, 39%, 48%)
HSVhsv(278, 56%, 67%)
CMYKcmyk(21.2%, 56.5%, 0%, 33.3%)
CIE-LABlab(42.56, 42.64, -41.64)
CIE-LCHlch(42.56, 59.60, 315.68°)
OKLaboklab(52.29% 0.1016 -0.1168)
OKLCHoklch(52.29% 0.155 311)
XYZxyz(19.5347, 12.8686, 39.4772)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AAA #6EAA4A
analogous
#564AAA #864AAA #AA4A9E
triadic
#864AAA #AA864A #4AAA86
tetradic
#864AAA #AA564A #6EAA4A #4A9EAA
square
#864AAA #AA564A #6EAA4A #4A9EAA
split-complementary
#864AAA #9EAA4A #4AAA56
monochromatic
#432555 #64377F #864AAA #A370C1 #BE9BD3

Accessibility & contrast

On white

5.88
#864AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#864AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AAA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AAA#FFFFFF#000000##FFFFFF
##864AAA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#825B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #864aaa;
/* rgb */ color: rgb(134, 74, 170);
/* oklch */ color: oklch(52.3% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#ac7fc4',
    500: '#864aaa',
    950: '#000000',
  },
}
SCSS
$custom: #864aaa;
$custom-light: #ac7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#864aaa",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 277.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.15478,
    "h": 311
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#864AAA
secondary
#A2C090
accent
#CF5985
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#864AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva