#864CA7#864CA7

#864CA7 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.148 H 311.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#864CA7
RGBrgb(134, 76, 167)
HSLhsl(278, 37%, 48%)
HSVhsv(278, 54%, 65%)
CMYKcmyk(19.8%, 54.5%, 0%, 34.5%)
CIE-LABlab(42.80, 40.87, -39.48)
CIE-LCHlch(42.80, 56.82, 315.99°)
OKLaboklab(52.41% 0.0987 -0.1105)
OKLCHoklch(52.41% 0.148 311.8)
XYZxyz(19.3898, 13.0277, 38.0449)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CA7 #6DA74C
analogous
#584CA7 #864CA7 #A74C9A
triadic
#864CA7 #A7864C #4CA786
tetradic
#864CA7 #A7584C #6DA74C #4C9AA7
square
#864CA7 #A7584C #6DA74C #4C9AA7
split-complementary
#864CA7 #9AA74C #4CA758
monochromatic
#432653 #64397D #864CA7 #A372BF #BE9CD2

Accessibility & contrast

On white

5.82
#864CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#864CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CA7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CA7#FFFFFF#000000##FFFFFF
##864CA71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#825B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #864ca7;
/* rgb */ color: rgb(134, 76, 167);
/* oklch */ color: oklch(52.4% 0.148 311.8);
Tailwind
colors: {
  custom: {
    50: '#ab80c1',
    500: '#864ca7',
    950: '#000000',
  },
}
SCSS
$custom: #864ca7;
$custom-light: #ab80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#864ca7",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 278.242,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.14813,
    "h": 311.8
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#864CA7
secondary
#A1BE90
accent
#CD5A84
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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